Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default Run on specific time/date?

Hello!

I'm hoping someone can help me here. I have a macro that is set to run on open...it kicks off another macro at a certain time. For the purpose of testing, I have the macro it kicks off set to refresh (nothing fancy). It looks like this:

Private Sub Workbook_Open()
Application.OnTime TimeValue("16:30:00),"Update"
End Sub

Sub Update()
ThisWorkbook.RefreshAll
End Sub

However, what I would like to do is have it set for a time and a date - I can't figure out how to do the date part. I'd like to leave this open and have it kick off certain macros at certain dates/times while I'm away. Does that make sense? So instead of just a time (16:30 today), I may want it to run at 4:30 on Friday etc.

Can anyone assist? I appreciate your help in advance.

J
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
Extracting specific data from Date and time strings John Norfolk Excel Discussion (Misc queries) 3 September 24th 08 09:52 AM
Last Save date/time and User for a specific sheet in a shared work Greg in CO[_2_] Excel Programming 8 September 17th 08 06:02 PM
counting instances of specific times in fields with date and time Rob Odum Excel Worksheet Functions 2 April 13th 06 04:06 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
time specific date input Ron Albert Excel Programming 1 January 18th 04 11:54 AM


All times are GMT +1. The time now is 11:49 PM.

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"