Hi Robin, I have tried to understand your needs, but cannot. 1. "a macro which will read my file name" This we can do. 2. "i want that my macto add a column D and reads my saved file name and put a digit 25 in that D coulmn in range d1 to d last (till column A, B, C, carries data) ??" This I don't understand.
If you provide a sample workbook, with specific instructions in that workbook, we may be able to help. Regards - Dave > Date: Fri, 29 May 2009 22:27:48 -0700 > Subject: $$Excel-Macros$$ read saved file name and put a digit in a column > range ???? > From: mail2rbhand...@gmail.com > To: excel-macros@googlegroups.com > > > hi friends, i am looking for a macro which will read my file name > (saved file where i will run macro) and print a code in given range of > a column, for an example if my file name is test (saved in desktop) is > carring some data in column A, B, and C, i want that my macto add a > column D and reads my saved file name and put a digit 25 in that D > coulmn in range d1 to d last (till column A, B, C, carries data) ?? > > please help me out with this, i am having 256 such files and i need to > do it manually every day, which is very fustrating... please give > some idea of this macro code atlest, > > Thanks, > Robin > > > _________________________________________________________________ View photos of singles in your area Click Here http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fsearch%2Fsearch%2Easpx%3Fexec%3Dgo%26tp%3Dq%26gc%3D2%26tr%3D1%26lage%3D18%26uage%3D55%26cl%3D14%26sl%3D0%26dist%3D50%26po%3D1%26do%3D2%26trackingid%3D1046138%26r2s%3D1&_t=773166090&_r=Hotmail_Endtext&_m=EXT --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---