View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Matt Matt is offline
external usenet poster
 
Posts: 516
Default Programming of alternative actions in VB macros

Need help. I want a macro to run two alternative actions (not cell entries in
the worksheet) under the condition that in an Excel cell the entry is 1 or 0.
Can I write something like: if(cell=1, than jump to macro line 10, otherwise
jump to macro line 20)? What would be the syntax?