Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I have a macro that runs a sub at a specific time. I have set up a local macro that sets the timer when the workbook is first opened to run a global macro at a specific time. I often don't check the computer where this workbook is for days at a time so I want to be able to just open the workbook once and have the macro run every day at 3:00. The local code is: Private Sub Workbook_Open() Dim Activate_Online_Historical As String Application.OnTime _ earliestTime:=TimeValue("15:00:00"), _ Procedu="Activate_Online_Historical" End Sub It works the first day but not the next unless I close and reopen. Thanks in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA macro runs fine, but freezes if I try to do ANYTHING else whileit runs | Setting up and Configuration of Excel | |||
Office 2007 Configuration wizard runs every time I start anyApplication | Setting up and Configuration of Excel | |||
Find %ontime & SUMIF ontime ie: find matching sets within Range... | Excel Worksheet Functions | |||
Office 2007 Configuration wizard runs every time I start anyApplication (word, excel, etc) | Setting up and Configuration of Excel | |||
Unprotect method run-time error | Excel Programming |