I have been working on vba code to update a worksheet, now the code stops running when it copies a worksheet from one workbook to another. But this only happens when I try it at work. Both workbooks are .xls, since not all users have 2007 or greater. The VBA code works fine on my personal laptop.
If I run the VBA directly from the VBA editor I'm prompted to enable macros and then it works. If the code runs as progrmmed it stops after the first .copy After:= event.
This code used to work until about 2 weeks ago. I have no idea what the network admin has disabled to prompt for macro in every workbook, but it's stopping the code from completing.
Is there a way to stop the code to prompt to enable macros in the second workbook?
Bookmarks