Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro in sheet1 that automatically runs every 15
seconds and works on objects in that sheet. Whenever I make another sheet active, the macro generates an error because it expects the active sheet to be sheet1. Is there a way to suspend the macro while another sheet is active??? Is there a way to keep it operating even though another sheet is active?? Thanks for any help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Paul
No. Yes. Post the code please, it's impossible to suggest anything without it. HTH. Best wishes Harald "Paul" skrev i melding ... I have a macro in sheet1 that automatically runs every 15 seconds and works on objects in that sheet. Whenever I make another sheet active, the macro generates an error because it expects the active sheet to be sheet1. Is there a way to suspend the macro while another sheet is active??? Is there a way to keep it operating even though another sheet is active?? Thanks for any help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why not insert at the appropriate point
if activesheet.name = "Sheet1" then .... ? Steve "Harald Staff" wrote in message ... Hi Paul No. Yes. Post the code please, it's impossible to suggest anything without it. HTH. Best wishes Harald "Paul" skrev i melding ... I have a macro in sheet1 that automatically runs every 15 seconds and works on objects in that sheet. Whenever I make another sheet active, the macro generates an error because it expects the active sheet to be sheet1. Is there a way to suspend the macro while another sheet is active??? Is there a way to keep it operating even though another sheet is active?? Thanks for any help. |
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 | |||
option buttons run Click code when value is changed via VBA code | Excel Programming | |||
VBA code delete code but ask for password and unlock VBA protection | Excel Programming |