Hi there, I have a problem I've been trying to work out for a while, I'm trying to switch between workbooks, Workbook1 with the code in will have a constant name, the name of workbook2 will change every time the report is run (on a weekly basis).
I've got workbook1 to open workbook2, and can do stuff in there then return to workbook1 to paste values in etc, but can't get it to return to workbook2 later on without having to close the file and re-open it.
I'm basing the name of Workbook2 on the value of a cell in workbook one, so just need to be able to activate that workbook from a command in workbook1 linking to the cell.
Is this possible? I'm not very good at the vba stuff, and make most of my macros by recording them, but then get stuck when I come to something like this!!
Any help would be appreaciated! Thanks
Ceri
I've got workbook1 to open workbook2, and can do stuff in there then return to workbook1 to paste values in etc, but can't get it to return to workbook2 later on without having to close the file and re-open it.
I'm basing the name of Workbook2 on the value of a cell in workbook one, so just need to be able to activate that workbook from a command in workbook1 linking to the cell.
Is this possible? I'm not very good at the vba stuff, and make most of my macros by recording them, but then get stuck when I come to something like this!!
Any help would be appreaciated! Thanks
Ceri