Roy, you forgot to reverse the properties and variables when restoring you code.
![]()
'your code here 'restore settings .ScreenUpdating = bScreenUpdating .DisplayAlerts = bDisplayAlerts .EnableEvents = bEnableEvents .Calculation = lCalculate
Roy, you forgot to reverse the properties and variables when restoring you code.
![]()
'your code here 'restore settings .ScreenUpdating = bScreenUpdating .DisplayAlerts = bDisplayAlerts .EnableEvents = bEnableEvents .Calculation = lCalculate
And to turn things off before executing user code?
Just checking if anyone read this(LOL)
Thanks Andy & shg, I copied & pasted from the VBE & didn't notice that the second copy hadn't picked up.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks