Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default run an excelfile/macro automatically

Hi Gurus,

I created a macro in an excel spreadsheet97. Is there any coding wa
that I could run periodically the macro/spreadsheet automatically no
using the window task schedule . Any suggestion/code is greatl
appreciated. Thanks Jeanie :-

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default run an excelfile/macro automatically

Hi
you may use the OnTime method for this. See:
http://www.cpearson.com/excel/ontime.htm

--
Regards
Frank Kabel
Frankfurt, Germany


Hi Gurus,

I created a macro in an excel spreadsheet97. Is there any coding way
that I could run periodically the macro/spreadsheet automatically not
using the window task schedule . Any suggestion/code is greatly
appreciated. Thanks Jeanie :-)


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default run an excelfile/macro automatically

The macro can run when you open the workbook, but you have to start Excel
somehow.

If Excel is not running, Task Scheduler must be used to start Excel from a
shortcut to your workbook with the Auto_Open macro.

Frank's reference to the OnTime method assumes Excel is already running.

Gord Dibben Excel MVP

On Fri, 28 May 2004 16:52:31 -0500, jn1971
wrote:

Hi Gurus,

I created a macro in an excel spreadsheet97. Is there any coding way
that I could run periodically the macro/spreadsheet automatically not
using the window task schedule . Any suggestion/code is greatly
appreciated. Thanks Jeanie :-)


---
Message posted from http://www.ExcelForum.com/


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
Excelfile wants to save before closing Carlo Excel Discussion (Misc queries) 5 February 2nd 07 11:01 AM
How do i lockup a locked excelfile if i have forgot the password? Halil Excel Discussion (Misc queries) 3 September 14th 05 03:43 PM
Automatically run a macro SheriTingle Excel Discussion (Misc queries) 2 July 12th 05 04:41 PM
is it possible to run a macro automatically? shirley Excel Programming 2 February 10th 04 09:55 AM
deleting/overwriting an excelfile walt Excel Programming 2 August 13th 03 03:11 PM


All times are GMT +1. The time now is 10:26 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"