Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way to disable (or turn off) a particular macro based on the value
of a cell? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Probably not. But you could put a check in the macro to see if it should
continue: Option Explicit Sub testme() dim myValToCheck as variant myvaltocheck = activesheet.range("a1").value if ucase(myvaltocheck) = ucase("Stop") then exit sub end if 'real code here End Sub Jeff wrote: Is there a way to disable (or turn off) a particular macro based on the value of a cell? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
macro to go to cell based upon a calculation | Excel Discussion (Misc queries) | |||
enable/disable button based on cell value | Excel Discussion (Misc queries) | |||
disable user running macro from Tools Macro | Excel Discussion (Misc queries) | |||
Formula or Macro to hide a row based on a cell value | Excel Discussion (Misc queries) | |||
Conditional formatting based on decision to enable/disable macros? | Excel Discussion (Misc queries) |