Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default OnAction with arguments supported

I know you can do OnAction with arguments like this:
..OnAction = "'ShowINI strSys6000Path'"
with double quotes enclosing single quotes.
However I am not sure this is supported in all Excel versions.
I know it works 11, but will it work in version 9 and 10?

I know I can do .Parameter = strSys6000Path
and pick that up like this:
variable = CommandBars.ActionControl.Parameter
in my Sub or Function, but the first method is a bit neater.

RBS

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
Macro - onAction arguments version83 Excel Worksheet Functions 2 April 10th 10 09:59 PM
Sent to printer - Resolution not supported. clueless Excel Discussion (Misc queries) 0 May 11th 05 04:50 AM
Interface not supported M.E.[_2_] Excel Programming 0 October 12th 04 04:04 PM
.OnAction with arguments max Excel Programming 4 February 23rd 04 06:30 PM
How do you add arguments to an OnAction event? Jason[_27_] Excel Programming 5 November 21st 03 12:48 PM


All times are GMT +1. The time now is 07:31 AM.

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

About Us

"It's about Microsoft Excel"