The Callback from the onAction has a very specific format which varies depending on the type of control
The CustomUI editor has a Call back generator button that will generate the correct call back skelton depending on the controls and the onAction attributes in your XML
[vba]
<button id="Btn7"label="Engasjementsbrev"onAction="Btn7Pressed"/>
[/vba]
Notice the format of the button callback
[vba]
Sub Btn7Pressed(control As IRibbonControl)
'Msgbox control.ID[/vba]
Call MyActionMacro7
End Sub
Paul




 
			
			 
					
						 
                    
            
                 
            
            
         
					
					
					
					
				