<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="false">
<tabs>
<tab id="CustomTab" label="Test Label">
<group id="SimpleControls" label="Test">
<button id="Button1" image="RibbonUImage" size="large"
label="Current Value"
onAction="=test()"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>
The ribbon comes up fine but when user clicks the button the macro runs twice. The macro is just a Form.Show.
The form pops and then you hit ok/cancel then it pops again and you hit ok/cancel then Error 400 shows.