View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
joeu2004[_2_] joeu2004[_2_] is offline
external usenet poster
 
Posts: 829
Default Can I use a variable contain the name of a sub or function to call it?

wrote in message
...
I would like to be able to decide at run time
which of several subs to call and, when writing
the code, it may be impossible to even know the
name of the sub.


Take a look at the help page for Application.Run. Be sure the limitations
fit your needs.