FilePrint not working in Office 2013 RRS feed

  • Question

  • Hi,

    we are trying to override the idmso FilePrint command in the ribbon. This works fine in Word/Excel/PPT 2007 and 2010 but not in 2013.

    Is there any bug in 2013 or did the command name change? Strangely office doesn't throw any errors but the function doesn't get called when I go to File -> Print and click the print button.

    <customUI xmlns="" onLoad="Ribbon_Load">
       <command idMso="FilePrint" onAction="OnFilePrint"/>

       public void OnFilePrint(IRibbonControl control, ref bool CancelDefault)
                MessageBox.Show("Hello World");

    Any ideas?

    Thank you very much.

    Best regards


    Regards Mark

    Tuesday, March 10, 2015 1:06 PM


All replies