Hi all,
I have the following code in an Excel document:
Ok, the problem I have at the moment is that I need to open this csv file, which is performed fine above into a new workbook. However how do I then get a 'pointer' to that workbook. I need to be able to perform operations on the opened .csv file, and my original workbook, (the one with the macro in it), and then copy data out of the .csv file into the original workbook.
I'm guessing it would be something like:
with Workbooks(2).Worksheets(1).... etc, but I don't know how to make sure I am talking about the right workbook.
Any ideas?
Thanks,
Phil
Bookmarks