Hello all,
I need some help with a macro, so if you have a few minutes, please help:
- i have the following macro in a worksheet and what is does is: it opens a workbook "XXX", update the links, copy the sheet "ABC" to a new file, add 7 days to the date found on cell J7, break links and save the new file on desktop.
- return to the original file, copy again the sheet ABC to a new workbook, add 14 to the date in J7, break links and save the new file on desktop.
Everything is working just fine when executed normally, but when i move the code to Personal.xlsB, the resulted dates are not correct.
I suspect that beeing executed fro Personal.xlsb workbook, i should declare some other variables?
Could you please help?
Thank you so much in advance.
This is the code:
Bookmarks