Originally Posted by
snb
Is a userform, called 'dashboard' present in the file HBPOS3.xls ?
Please post an example file.
Dashboard only exists in HBPOS3.xls
Dashboard does not exist in HBPOS_03012011.xls
I need it to close HBPOS_03012011.xls and then load up Dashboard in HBPOS3.xls after.
I've tried this as well:
I tried that as when you open HBPOS3.xls it will automatically load up Dashboard anyway but it closes HBPOS3.xls and leaves HBPOS_03112011.xls open.
In both cases, it closes the first file and then stops working on the rest of macro once its executed the first closure.
I would post both workbooks but there's a lot of setting up that you'd need to do...
You have to define the path to the file in the setup page, then create a couple of folders in that folder for it to work properly.
Regards
Bookmarks