none
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="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
      <commands>
       <command idMso="FilePrint" onAction="OnFilePrint"/>
     </commands>



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

    Any ideas?

    Thank you very much.

    Best regards

    Mark


    Regards Mark

    Tuesday, March 10, 2015 1:06 PM

Answers

All replies