Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Does anyone have any code that will indicate if a macro is
running? I have a continuous running macro that updates every 2 secs. Sometimes several updates occur without changing any data on the screen. Sometimes the macro hangs up. I would like a "heartbeat" to indicate if it was really running or not. Maybe like cells alternating colors, or cycling through Clip Art objects? Thanks, Mike |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi Have the running macro print something in the status bar. Regards Andrew Bourke Mike K wrote: Does anyone have any code that will indicate if a macro is running? I have a continuous running macro that updates every 2 secs. Sometimes several updates occur without changing any data on the screen. Sometimes the macro hangs up. I would like a "heartbeat" to indicate if it was really running or not. Maybe like cells alternating colors, or cycling through Clip Art objects? Thanks, Mike |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Mike,
Use some sort of progress indicator, either a progress bar form writing to the status bar, or just displaying a message box for a determined period. -- HTH RP (remove nothere from the email address if mailing direct) "Mike K" wrote in message ... Does anyone have any code that will indicate if a macro is running? I have a continuous running macro that updates every 2 secs. Sometimes several updates occur without changing any data on the screen. Sometimes the macro hangs up. I would like a "heartbeat" to indicate if it was really running or not. Maybe like cells alternating colors, or cycling through Clip Art objects? Thanks, Mike |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Bob,
Just got back to work today. This macro may run for 8- 12 hours, or theoretically days or weeks. Doesn't a progress indicator need a definite start and a stop? And if the macro were to hang, wouldn't the display still remain? I have a status cell(A1) turn green when I click the start button and red when I click the stop button. Sometimes the macro hangs on its own, doesn't update, and the status cell stays green. If I had another cell alternate colors continuously, or an animated dohicky, then I could tell if it were truly running. Mike -----Original Message----- Mike, Use some sort of progress indicator, either a progress bar form writing to the status bar, or just displaying a message box for a determined period. -- HTH RP (remove nothere from the email address if mailing direct) "Mike K" wrote in message ... Does anyone have any code that will indicate if a macro is running? I have a continuous running macro that updates every 2 secs. Sometimes several updates occur without changing any data on the screen. Sometimes the macro hangs up. I would like a "heartbeat" to indicate if it was really running or not. Maybe like cells alternating colors, or cycling through Clip Art objects? Thanks, Mike . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
split post code (zip code) out of cell that includes full address | Excel Discussion (Misc queries) | |||
Code to conditional format all black after date specified in code? | Excel Discussion (Misc queries) | |||
Drop Down/List w/Code and Definition, only code entered when selec | Excel Worksheet Functions | |||
stubborn Excel crash when editing code with code, one solution | Excel Programming | |||
VBA code delete code but ask for password and unlock VBA protection | Excel Programming |