Hi everyone,
I'm a total newbie to VBA an I've encountered a problem when renaming a VBA workbook.
When I rename the work, I change nothing to code or to the work, I simply want to rename the workbook. The problem I have is that when I rename it, I cannot get it to work independently from the original workbook.
For example, my VBA was written in a workbook called 'original'. I now want to change the name of this workbook to 'new'. However, when I open new workbook and the code runs, the 'original' workbook will open - I'm assuming because it is accessing the code from that.
This is the code I have:
Any thoughts, ideas and help on how I can simply rename my workbook and get it to work independently would be greatly appreciated.
Many thanks in advance!
Bookmarks