I have a VBA code that, upon a key-stroke prompt, will copy a worksheet from a source workbook to a destination workbook, rename the worksheet with a date, and close the source workbook. My problem is that when the macro opens the source workbook, the source workbook asks if I'd like to update links - I do not. And once the worksheet is copied over the workbook maintains a links to the source workbook.
How can I set up my code to prevent the Update Links prompt from popping up and break the data link to the source workbook?
My code is below:
Thanks in advance for any advice. I use Excel 2016.Please Login or Register to view this content.
Bookmarks