Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 216
Default Macro running at certain times

Is it possible to schedule macros to run at certain times?

Please note that I realise you could set a time in your
workbook (=NOW()) and use this number to be the variable
that will start the macros but if nothing is being
calculated in the spreadsheet then the time will not
update.

Is there a way to have the time update regardless if a
calculation is taking place or is there another way that
it could be done?


thanks
Mike

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro running at certain times

Mike,

This is from VB Help.


This example runs my_Procedure at 5 P.M.

Application.OnTime TimeValue("17:00:00"), "my_Procedure"


Hope this is what you want

Charle

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Macro running at certain times

yes,

thank you.



-----Original Message-----
Mike,

This is from VB Help.


This example runs my_Procedure at 5 P.M.

Application.OnTime TimeValue("17:00:00"), "my_Procedure"


Hope this is what you want

Charles


---
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
How to keep UserForm open at all times while excel is running NFL Excel Discussion (Misc queries) 1 July 8th 09 01:35 AM
Adding running times stormy weather Excel Discussion (Misc queries) 4 October 16th 07 03:20 PM
formula to keep a running tally of the number of times a certain w CJZ Excel Discussion (Misc queries) 4 November 8th 06 01:04 AM
Running macro x # of times with a prompt Redskinsfan Excel Worksheet Functions 6 August 8th 06 06:46 PM
Running a Macro a number of times JWF Excel Discussion (Misc queries) 2 March 14th 06 11:10 AM


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