View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mathieu936 Mathieu936 is offline
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!