Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 224
Default Send parameters in worksheet button 255 characters

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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parameters Button Greyed Out Why? M Y Excel Discussion (Misc queries) 2 November 19th 07 07:56 PM
send parameters to a batch file with the shell command Marcos[_2_] Excel Programming 6 May 28th 06 07:53 PM
Worksheet button to send as attachment [email protected] Excel Worksheet Functions 2 April 20th 06 11:14 PM
Worksheet button to send as attachment [email protected] Excel Discussion (Misc queries) 1 April 20th 06 10:48 PM
Send worksheet via email this spreadsheet button Angelo[_2_] Excel Programming 3 January 4th 05 06:06 PM


All times are GMT +1. The time now is 10:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"