LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default How to execute macro when selecting user-defined menu in ribbon

Hi!

I would like to know how to automatically execute a macro when I
select a user-defined tab I created in my Excel ribbon.

I tried onAction tag in my ribbon code for my menu:
<menu id="DropdownBD7020" label="BM7020" size="large"
imageMso="ControlsGallery" onAction="MacroName"

but that doesn't work.


Thanks!
 
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
Execute macro when active cell is in a defined area Spuds Glorious Spuds[_2_] Excel Programming 3 February 18th 09 05:18 PM
Can you do user defined Menu Macros in Excel like in Lotus? rcampling Excel Programming 1 December 30th 08 07:28 PM
Selecting a Whole User Defined Row Using VBA Mikey2005 Excel Programming 2 February 8th 06 05:14 PM
User Defined formula, selecting range [email protected] Excel Programming 3 January 5th 06 09:27 AM
User defined menu Glen Mettler[_4_] Excel Programming 2 November 24th 04 07:43 PM


All times are GMT +1. The time now is 08:39 AM.

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"