Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I am running a macro that take a few minutes. Half way through I get a box
saving do you want to save the file whith the normal 'Skip, Cancel' options. How can I stop getting this whilst the macro is running? Thanks |
#2
![]() |
|||
|
|||
![]()
It sounds as if Autosave is kicking in. You would need to turn it off while
your code is running. Here are some routines I wrote a long time ago for that purpose. I hope they work with your Excel version these days but, fwiw... Sub DisableAutosave() ToggleAutoSave False End Sub Sub EnableAutosave() ToggleAutoSave True End Sub Sub ToggleAutoSave(Setting As Boolean) Workbooks("autosave.xla").Excel4IntlMacroSheets("L oc Table") _ .Range("ud01n.Do_Save").Value = Setting Run "autosave.xla!mcs05.ClearOnTime" Run "autosave.xla!mcs03.SetOnTime" Run "autosave.xla!mcs01.CheckCommand" End Sub -- Jim "Pank Mehta" wrote in message ... |I am running a macro that take a few minutes. Half way through I get a box | saving do you want to save the file whith the normal 'Skip, Cancel' options. | | How can I stop getting this whilst the macro is running? | | Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excell2003 (SP-1) File > Save and File > Save As.. grayed out | Excel Discussion (Misc queries) | |||
save excel file from a table delimited file (.txt) using macros | New Users to Excel | |||
How do you disable save file dialog? | Setting up and Configuration of Excel | |||
Can't save new excel file | Excel Discussion (Misc queries) | |||
Save & Save As features in file menu of Excel | Excel Discussion (Misc queries) |