Send parameters in worksheet button > 255 characters

G

Greg Lovern

If I create a Forms (not ActiveX) worksheet button, I can send
parameters in the OnAction parameter, like this:

MyButton.OnAction = "'" & strThisWorkbookName &
"'!'Clicked_My_Button(" & my_arg & ")'"

However, I'm limited to a total OnAction string of 255 characters. I
want to send many long parameters, requiring much more than 255
characters.

Is there any way I can do this with ActiveX worksheet buttons, or any
other way to get around this limitation?

I'm using Excel 2007.


Thanks,

Greg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top