#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default autosave macro excel

I would like to create an active macro, which when you open the file is
autosave only this file every 10 min but don't disturb any other program or
files.
Someone can help me.
PS : I tried the autosave addin but it save all excel document.
--
Cordialement,
Philippe B.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default autosave macro excel

Chip Pearson explains how to use application.ontime:
http://www.cpearson.com/excel/ontime.htm

You can use it to run your macro to save that workbook every 10 minutes.

Philippe B. wrote:

I would like to create an active macro, which when you open the file is
autosave only this file every 10 min but don't disturb any other program or
files.
Someone can help me.
PS : I tried the autosave addin but it save all excel document.
--
Cordialement,
Philippe B.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default autosave macro excel

Thank , I tried the first macro and it is really good but this cannot be stop
without closing excel completely because I tried to close only the file but
few second later I have a pop up which ask if I would like to enable the
macro timer.
Is there any way to stop the macro anytime completely?

Kind regards,
Philippe
--
Cordialement,
Philippe B.


"Dave Peterson" wrote:

Chip Pearson explains how to use application.ontime:
http://www.cpearson.com/excel/ontime.htm

You can use it to run your macro to save that workbook every 10 minutes.

Philippe B. wrote:

I would like to create an active macro, which when you open the file is
autosave only this file every 10 min but don't disturb any other program or
files.
Someone can help me.
PS : I tried the autosave addin but it save all excel document.
--
Cordialement,
Philippe B.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default autosave macro excel

Look at Chip's page once more for the subroutine named: StopTimer

That will stop the timer <bg.

Notice how he declared those variables (RunWhen, cRuntIntervalSeconds, and
cRunWhat) at the top of the module.

Philippe B. wrote:

Thank , I tried the first macro and it is really good but this cannot be stop
without closing excel completely because I tried to close only the file but
few second later I have a pop up which ask if I would like to enable the
macro timer.
Is there any way to stop the macro anytime completely?

Kind regards,
Philippe
--
Cordialement,
Philippe B.

"Dave Peterson" wrote:

Chip Pearson explains how to use application.ontime:
http://www.cpearson.com/excel/ontime.htm

You can use it to run your macro to save that workbook every 10 minutes.

Philippe B. wrote:

I would like to create an active macro, which when you open the file is
autosave only this file every 10 min but don't disturb any other program or
files.
Someone can help me.
PS : I tried the autosave addin but it save all excel document.
--
Cordialement,
Philippe B.


--

Dave Peterson


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop Excel remembering/loading macro from previously opened Workbook Norman Yuan Excel Discussion (Misc queries) 4 June 17th 06 04:13 PM
Macro Help In Excel welshlad Excel Discussion (Misc queries) 14 October 26th 05 02:34 PM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
passing arguments from an excel macro to a word macro KWE39 Excel Discussion (Misc queries) 1 July 7th 05 03:56 PM
Macro excel save mrbalaje Excel Discussion (Misc queries) 1 May 12th 05 06:27 PM


All times are GMT +1. The time now is 08:31 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"