G
Guest
(e-mail address removed) used his keyboard to write :
Ok, to send variable values from a button click, you need to have a
button for every possible variable. I strongly suggest you DO NOT make
a menuitem for each possibility.
It sounds to me like you need to do some validation of the ActiveCell
at the time the menuitem is selected. This should be done in an
'EntryPoint' procedure, where your decision as to what to do is
evaluated and passed to the appropriate procedure with args.
So.., I'm saying use a single entry point menuitem to execute a
procedure that does the logic part for all possibilities, and then
passes the instruction via args to your processing sub/function. Does
this make sense?
It does, but it's not where I'm headed.
http://tinyurl.com/66ah47u
In the picture of the menu the URL directs you to, if, say...Elmer
Fudd was to set the value of ActNum to 2, then run the macro, the
macro would then populate a base page with data.
That's where I'm headed.
So, in effect, the menuitem would need to perform two functions when
clicked...set the variable, and then call the procedure.
Is that possible?