I've got an issue with a simple piece of code which runs a constant loop to protect a specific worksheet, unless you double click on a cell that is linked to data in another sheet. Which then takes you to that data and reprotects the sheet which is running the loop.
My problem is there is a macro that is manually run periodically to refresh the data on the sheet that is protected. Obviously if it is trying to copy and paste to a sheet that is constantly protected I get the usual "The cell or chart you are trying to modify is protected..." error.
Is there a way I can insert some code into the refresh macro to halt the looped code temporarily?
Many Thanks
NKO
Bookmarks