ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save (https://www.excelbanter.com/excel-programming/370571-save.html)

JohnUK

Save
 
Hi Guys,
Is there a way that a workbook can be saved say, every half hour through VBA.
Also if it is possible, if another macro was to be running at the same time
would it interfere in some way?
Many thanks for help
John


Tom Ogilvy

Save
 
Application.OnTime

See Chip Pearson's page on this

http://www.cpearson.com/excel/ontime.htm

It is not preemptive, so if Excel is busy it will not run - however, it has
an option to try again.

--
Regards,
Tom Ogilvy


"JohnUK" wrote:

Hi Guys,
Is there a way that a workbook can be saved say, every half hour through VBA.
Also if it is possible, if another macro was to be running at the same time
would it interfere in some way?
Many thanks for help
John


JohnUK

Save
 
Many thanks Tom.

"Tom Ogilvy" wrote:

Application.OnTime

See Chip Pearson's page on this

http://www.cpearson.com/excel/ontime.htm

It is not preemptive, so if Excel is busy it will not run - however, it has
an option to try again.

--
Regards,
Tom Ogilvy


"JohnUK" wrote:

Hi Guys,
Is there a way that a workbook can be saved say, every half hour through VBA.
Also if it is possible, if another macro was to be running at the same time
would it interfere in some way?
Many thanks for help
John



All times are GMT +1. The time now is 08:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com