#1   Report Post  
Posted to microsoft.public.excel.programming
tjh tjh is offline
external usenet poster
 
Posts: 96
Default Date/Time

Is it possible to run a macro every month at a particular time? Such as at
noon on the 5th of every month. How would I go about doing this? Thank You,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,337
Default Date/Time

modify to suit.

Private Sub Workbook_Open()
If Date DateSerial(2004, 11, 30) Then
MsgBox "hi"
End If
End Sub


--
Don Guillett
SalesAid Software

"tjh" wrote in message
...
Is it possible to run a macro every month at a particular time? Such as at
noon on the 5th of every month. How would I go about doing this? Thank

You,


  #3   Report Post  
Posted to microsoft.public.excel.programming
tjh tjh is offline
external usenet poster
 
Posts: 96
Default Date/Time

I believe you still have to open the workbook with this situation. Is it
possible to get the macro to open the file/workbook and run the macro by
itself? Even if the computer is turned off and run it in the background --
then when the computer is logged onto the file shows up. I think this is
doubtful but thought I'd ask.

"Don Guillett" wrote:

modify to suit.

Private Sub Workbook_Open()
If Date DateSerial(2004, 11, 30) Then
MsgBox "hi"
End If
End Sub


--
Don Guillett
SalesAid Software

"tjh" wrote in message
...
Is it possible to run a macro every month at a particular time? Such as at
noon on the 5th of every month. How would I go about doing this? Thank

You,



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
Converting text format of time/date into Excel time/date for subtr YY san.[_2_] Excel Worksheet Functions 6 February 25th 10 08:27 AM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 02:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM


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