application.run YourMacroNameVariableHere
(No checking at all!)
But I wouldn't do this. I'd give the user (including me!) a way to run the
procedure that I wanted.
For additions to the worksheet menu bar, I really like the way John Walkenbach
does it in his menumaker workbook:
http://j-walk.com/ss/excel/tips/tip53.htm
Here's how I do it when I want a toolbar:
http://www.contextures.com/xlToolbar02.html
(from Debra Dalgleish's site)
"John Cole, Jr." wrote:
>
> I have written a macro that will loop through every workbook in a
> certain directory. I would like to use that for several other macros
> that will do things in the workbooks. Is there a way, I can use an
> InputBox to call the routine/sub I want to run with the Loop
> procedure?
>
> Thanks in Advance,
>
> JC
--
Dave Peterson