View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Cathy[_2_] Cathy[_2_] is offline
external usenet poster
 
Posts: 24
Default Run another macro from within this macro

A1 contains a number that changes randomly from 1 to 100
a2 reads =concatenate("Macro",A1)

Therefore A2 equals Macro1 when A1 is 1

I have written 100 macros for each of these values as I could not figure out
another way to do this. (still a little new to VB)

How do write a macro so that when it runs it refers to the cel A2 to see
which macro it is supposed to run

Thanks in advance

C