Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello,
I would like to know how to save after than the macro is finished to run; for example I have this piece of code: ...... dtmTime = Now + TimeValue("00:00:07") Application.OnTime dtmTime, "thisworkbook.operations" Application.DisplayAlerts = False ActiveWorkbook.SaveAs Filename:= _ "C:\test.xls", FileFormat:=xlHtml, ReadOnlyRecommended:=False, CreateBackup:=False Application.DisplayAlerts = True 'and there how to determinate the exact time of the end of my macro; do you think I have the 'possibility to catch it with something else than now (). 'my macro is a little slow as need to do a lot of calculation dtmSave = dtmTime + TimeValue("00:01:00") Application.OnTime dtmSave, "Save_Exit" ina |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
schedule macro - application.OnTime | Excel Programming | |||
Application.OnTime -- Unable to Pass Macro with Numeric Parameter | Excel Programming | |||
Need Macro To Close Excel Application | Excel Programming | |||
macro to close excel application other than application.quit | Excel Programming | |||
Save and Close Excel using OnTime | Excel Programming |