Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
To improve performance, at the beginning of my macros, I do
DoNotPopulate = True Application.ScreenUpdating = False and restore these at the end. How do I manually re-enable excel sheet operation if the macro fails before completion? Ctl-Brk or Run - Reset is no help. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
From the Immediate window, you can type application.screenupdating = true
I have no idea about the donotpopulate as that is something I am unfamiliar with. (Perhaps also from the immdiate window, but I wouldn't want to say.) You could also run a macro. I saw this idea on (I believe) dailydoseofxcel blog (dick's blog.) I think I copied this into my personal.xls. Let me check ... Public Sub ResetExcel() On Error Resume Next Application.EnableEvents = True Application.StatusBar = False Application.Calculation = xlAutomatic Application.Cursor = xlDefault Application.ReferenceStyle = xlA1 ActiveSheet.EnableSelection = xlNoRestrictions ActiveSheet.ClearArrows ActiveSheet.DisplayAutomaticPageBreaks = False End Sub Actually was not in personal.xls but I am putting it there now. -- Kevin Vaughn "John" wrote: To improve performance, at the beginning of my macros, I do DoNotPopulate = True Application.ScreenUpdating = False and restore these at the end. How do I manually re-enable excel sheet operation if the macro fails before completion? Ctl-Brk or Run - Reset is no help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Help In Excel | Excel Discussion (Misc queries) | |||
Closing File Error | Excel Discussion (Misc queries) | |||
Macro to close excel | Excel Discussion (Misc queries) | |||
passing arguments from an excel macro to a word macro | Excel Discussion (Misc queries) | |||
Excel macro that opens new MS Word file and pastes data as a pictu | Excel Worksheet Functions |