Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Passing Parameters through OnAction

I have an add-in that adds a popup to the Tools menu button. When the
user clicks, they are presented with five buttons on the popup. One of
the buttons needs to pass a parameter to the function it calls. It has
been doing this perfectly for the past month (when it was designed). It
stopped working about three days ago, when the IS people reinstalled
Excel, due to a separate bug. What is going on?

TIA,
Mark

---
Mark Bigelow
mjbigelow at hotmail dot com
http://hm.imperialoiltx.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Passing Parameters through OnAction

What version of Excel. My understanding is that Excel 2002 broke this
undocumented functionality. Perhaps it was restored in one of the SP's - so
maybe they need to get you back up to the same service pack. (I assume you
remained in the same major version of Excel across IS intervention).

--
Regards,
Tom Ogilvy


"Mark Bigelow" wrote in message
...
I have an add-in that adds a popup to the Tools menu button. When the
user clicks, they are presented with five buttons on the popup. One of
the buttons needs to pass a parameter to the function it calls. It has
been doing this perfectly for the past month (when it was designed). It
stopped working about three days ago, when the IS people reinstalled
Excel, due to a separate bug. What is going on?

TIA,
Mark

---
Mark Bigelow
mjbigelow at hotmail dot com
http://hm.imperialoiltx.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Passing Parameters through OnAction

I'm using version 2000, SP-3. That may be the problem, because before
the change I was using SP-2. Any way around that?

Mark
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Passing Parameters through OnAction

Not that I am aware of.

Depends on what you are actually doing. If you just need to know which
button

CommandBars.ActionControl

Beyond that, I could say how you could set the parameter unless you on
action to an intermediate macro that sets a global variable or something.
There is also the tag property - but, again, not knowing what you are trying
to accomplish or what the circumstances are, can't say what might be
practical.

Regards,
Tom Ogilvy

mjbigelow wrote in message
...
I'm using version 2000, SP-3. That may be the problem, because before
the change I was using SP-2. Any way around that?

Mark



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
Passing several parameters to OnAction property. LABKHAND Excel Discussion (Misc queries) 1 April 24th 09 08:02 PM
OnAction of Menu Bar with variable parameters chris Excel Discussion (Misc queries) 1 August 7th 06 04:03 PM
Set up OnAction of a Menu Bar button to a function with variable in the parameters chris Excel Discussion (Misc queries) 0 July 17th 06 05:05 PM
Passing parameters Cel Ref) to Sum function Shamshad Butt Excel Discussion (Misc queries) 4 October 26th 05 10:46 AM
OnAction Jim Rech Excel Programming 1 September 5th 03 04:39 PM


All times are GMT +1. The time now is 02: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"