Intro: I have written some short excel macros (tested, they work fine) and want to link them to a button in the Ribbon (Excel 2010). I had already done it successfully in Ex
Roberto,
I believe you need to add this param to your macro "control As IRibbonControl"
So it should look like this:
Sub EURZ(control As IRibbonControl) Application.ActiveCell.NumberFormat = "€ #,##0.00" End Sub
Hope that works for you.
-Justin