View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Felicity Shagwell Felicity Shagwell is offline
external usenet poster
 
Posts: 9
Default Choose a macro from within a macro

I need to write a macro which will choose one of two macros to run, based
upon the value in a single cell. The value in the single cell could be
either numeric or text.

In other words,

IF cell value = x, Application.Run"Macro1", ELSE Application.Run "Macro2".

But I just don't know how to write the proper code for this. Any clues?