Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Execute command in Right Click through VBA

Dear All,

I am using Excel 2007. I have a password protected addin which adds a
command to the right click menu. so if I have to run the macro, I have
to right click and then select the command to execute it.

The problem is that i want to run this macro from the ribbon - can you
please tell me what code should be written so that whenever any one
presses the button on the ribbon then this macro is run.

Further I don't know about the name of the macro - if i knew, i could
have written a code which directly executes this macro.

Can you please help?

Thanks

Vikesh

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Execute command in Right Click through VBA


Why don't you ask the author of the add-in?
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Vikesh Jain"
wrote in message
Dear All,
I am using Excel 2007. I have a password protected addin which adds a
command to the right click menu. so if I have to run the macro, I have
to right click and then select the command to execute it.
The problem is that i want to run this macro from the ribbon - can you
please tell me what code should be written so that whenever any one
presses the button on the ribbon then this macro is run.
Further I don't know about the name of the macro - if i knew, i could
have written a code which directly executes this macro.
Can you please help?
Thanks
Vikesh

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
Command button code does not execute [email protected] Excel Programming 2 June 3rd 07 06:49 PM
Execute a ping command Significent Excel Programming 10 November 22nd 05 01:26 AM
Click on graph bar to execute a double-click in a pivot table cell [email protected] Charts and Charting in Excel 4 August 3rd 05 01:37 AM
VBA Equivalent of ASP 'Execute' Command The Vision Thing Excel Programming 7 February 6th 05 10:59 PM
Execute a menu command with VBA? Susan[_3_] Excel Programming 2 May 1st 04 07:45 AM


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