Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Running a macro based on the time

I have a spreadsheet that runs throughout the day. There is a time function
built in using =now() and Text(A1,"H:MM"). Is there a way to use the time to
run a macro? I want the macro to run everyday at 16:00.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Running a macro based on the time

hi
that would be the on time event.
look up the on time method in vb help.
also see this site.
http://www.cpearson.com/excel/OnTime.aspx

regards
FSt1

"WNYC" wrote:

I have a spreadsheet that runs throughout the day. There is a time function
built in using =now() and Text(A1,"H:MM"). Is there a way to use the time to
run a macro? I want the macro to run everyday at 16:00.

Thanks.

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
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable Enda80 Excel Worksheet Functions 1 May 3rd 08 02:35 PM
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable Enda80 Excel Discussion (Misc queries) 1 May 3rd 08 10:52 AM
Running a macro at a specified time The Bobka Excel Discussion (Misc queries) 1 June 30th 05 05:25 PM
Running a macro at a certain time Tam Excel Discussion (Misc queries) 3 March 2nd 05 02:50 PM
running macro at automatic time intervals tjb Excel Worksheet Functions 1 February 28th 05 09:40 PM


All times are GMT +1. The time now is 09:47 AM.

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

About Us

"It's about Microsoft Excel"