Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to have a macro that runs every minute or whenever anything
changes in the whole spreadsheet for the purpose of re-publishing to a website? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
To run a macro every minute, use the OnTime method. See
www.cpearson.com/excel/ontime.htm for more information. To run a macro when anything in the workbook changes, use the following code in the ThisWorkbook code module: Private Sub Workbook_SheetChange(ByVal Sh As Object, _ ByVal Target As Range) MyMacro ' change macro name as required End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Rob" wrote in message ... Is it possible to have a macro that runs every minute or whenever anything changes in the whole spreadsheet for the purpose of re-publishing to a website? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Running a Macro from a Spreadsheet Function | Excel Worksheet Functions | |||
Prevent A Macro From Running If SpreadSheet is Filtered | Excel Worksheet Functions | |||
running macro at automatic time intervals | Excel Worksheet Functions | |||
Macro Running at Spreadsheet Start | Excel Programming | |||
Running Macro when value in spreadsheet is true | Excel Programming |