Worked it out Daniel's 090729.xls file has a second sheet called target the values are pasted there in sequence. It does work in Excel 2007. Thank you.
On 30 July, 12:37, Sanjeev Kumar <kmr.sanj...@gmail.com> wrote: > could you pls share the same with me too. > > Thanks n Regards > > Sanjeev Kumar > > On 7/30/09, Batfacez <batfa...@googlemail.com> wrote: > > > > > Hi, > > > Many thanks for producing this code for me. I've had a go but it seems > > to call up the files well but it doesn't seem to copy any of the cells > > across. Please could you give some pointers to get this to work? I've > > tried adding things like Activesheet.paste but I can't get it to > > work. I'm using Excel 2007. > > > Thanks again. > > > On 29 July, 11:17, "Daniel" <dcolarde...@free.fr> wrote: > > > Hello. > > > Have a look at the attached file. The associated csv files are also > > > attached. > > > Regards. > > > Daniel > > > > > -----Original Message----- > > > > From: excel-macros@googlegroups.com [mailto:excel- > > > > mac...@googlegroups.com] On Behalf Of Batfacez > > > > Sent: mardi 28 juillet 2009 18:51 > > > > To: MS EXCEL AND VBA MACROS > > > > Subject: $$Excel-Macros$$ Open file with name from a column in excel: > > How > > > > in vb? > > > > > Hi, > > > > > I have a column in excel with a list of names. I would like to write in > > vb > > > for a > > > > command button to open the file with the name in the column i.e. > > name.csv > > > > as part of a loop where values are extracted from name.csv and put in > > > > subsequent columns in the original document then move on to name2.csv > > > > extract values etc. > > > > > Thanks for any advice. > > > > 090729.xls > > > 58KViewDownload > > > > Book1.csv > > > < 1KViewDownload > > > > Book2.csv > > > < 1KViewDownload --~--~---------~--~----~------------~-------~--~----~ ---------------------------------------------------------------------------------- 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 <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 5,200 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~----------~----~----~----~------~----~------~--~---