Good evening,
I am trying to import data from one workbook into another but it is not working. Any ideas on what is happening? This is something I am piecing together from other posts but I have hit a snag.
It works up until Windows(CFileName).activate![]()
Please Login or Register to view this content.
I am not sure what is happening here as I have checked, using a message box, and CFileName still has the correct file name. For some reason excel will not switch to the other file. If I switch this to Windows("Workbooks name.xls").activate the code works.
Any ideas? As always, thank you in advance for your help!
tc
Bookmarks