Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a workbook and i want to write a code which should run on a specific time(3.00 PM) everyday at and complete a task. Regards Heera |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Paste in this module Private Sub Workbook_Open() Application.OnTime TimeValue("15:00:00"), "MyMacro" End Sub Change MyMacro to the name of your code and include the 2 lines below at the start of your code. Of couse this only works if the workbook is open Application.OnTime TimeValue ("15:00:00"), "MyMacro" ' change to your subs name Mike "Heera" wrote: Hi, I have a workbook and i want to write a code which should run on a specific time(3.00 PM) everyday at and complete a task. Regards Heera |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
another way would be to have the workbook open automatically at a
certain time using the windows task manager. then have the macro you want to run in the workbook_open module. of course, this assumes that macros are enabled & the workbook can open and run unimpeded. otherwise it will require the participation of the user to enable the macros. just an idea :) susan On Nov 14, 12:21*pm, Heera wrote: Hi, I have a workbook and i want to write a code which should run on a specific time(3.00 PM) everyday at and complete a task. Regards Heera |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro / function text time to 24hr excel time passed midnight fortotaling hr's | Excel Worksheet Functions | |||
saving a file based on a value in predertermined cell to a specifi | Excel Discussion (Misc queries) | |||
surpress zero-values in specifi columns (not complete workbook/window) | Excel Programming | |||
Excel will not allow me to change a numerical figure in a specifi. | Excel Discussion (Misc queries) | |||
Help with Macro to Convert Date/Time to Time Only | Excel Programming |