ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Macro to run without spreadsheet being open (https://www.excelbanter.com/excel-discussion-misc-queries/251489-macro-run-without-spreadsheet-being-open.html)

Dan Wood

Macro to run without spreadsheet being open
 
Is there a way to et a macro to run without the sheet being open? Within my
macro there is a timer of 00:00:01 to run he macro, but this will only work
with the spreadsheet open.

Is there a way to run the macro overnight without the sheet being open?

Ron de Bruin

Macro to run without spreadsheet being open
 
See
http://www.cpearson.com/excel/OnTime.aspx

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Dan Wood" wrote in message ...
Is there a way to et a macro to run without the sheet being open? Within my
macro there is a timer of 00:00:01 to run he macro, but this will only work
with the spreadsheet open.

Is there a way to run the macro overnight without the sheet being open?


Gord Dibben

Macro to run without spreadsheet being open
 
Macros cannot be run without opening the workbook.

You could use Windows Task Scheduler to start Excel, open the workbook and
run the macro.

Add code to close the workbook and quit Excel when done.


Gord Dibben MS Excel MVP

On Sun, 20 Dec 2009 02:23:01 -0800, Dan Wood
wrote:

Is there a way to et a macro to run without the sheet being open? Within my
macro there is a timer of 00:00:01 to run he macro, but this will only work
with the spreadsheet open.

Is there a way to run the macro overnight without the sheet being open?




All times are GMT +1. The time now is 07:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com