Sitemap

Amicuk Programming Answers

FilePrint not working in Office 2013

2015-10-11   Views:0

Advertisement

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 funct

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

The replay answer
Advertisement
Hello Mark,
I suppose you are talking about the Print command shown on the screenshot:
The fact is that you are trying to repurpose the backstage controls.
It is not possible to override these commands from the custom UI XML markup or by using the object model.
A better solution would be to consider hiding the built-in UI and rebuilding it fully with custom commands.
See
Introduction to the Office 2010 Backstage View for Developers and
Customizing the Office 2010 Backstage View for Developers for more information.

Go to See the other 4 answers

FilePrint not working in Office 2013

Category:DefaultRelease time:2015-10-11Views:130

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 funct[More]

Is ms office 2013 supported for report generation​? Error 41106

Category:DefaultRelease time:2015-10-11Views:130

Hi I have a copy of LV full development suite with the Excel and Word report generation toolkit added. I have recently changed to using Office 365 that includes offline versions of Excel and Word from Office '13. When using the report generation tool[More]

Office 2013 (Mainly Outlook) Ribbon Menu Display Error

Category:DefaultRelease time:2015-10-11Views:130

So i have created a MDT System Image for deploying Windows across our Business we are currently using Windows 8.1 32/64Bit Office 2013 SP1 now i have recently updated the image simply to install the latest load of Windows Updates so we are not instal[More]

Office 2013 app-v packages

Category:DefaultRelease time:2015-10-11Views:130

In this article, http://blogs.windows.com/itpro/2013/12/02/announcing-mdop-2013-r2/   I see mention of an Office version called "Office 2013 ProPlus App-V Package".    Is this a download?  I don't see it available as one when I login to my VLSC[More]

Office 2013 - Incorrect Icons In Taskbar When Apps Running

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a a strange issue relating to Office 2013 (all apps in suite) in our school based Windows 7 domain environment. When students login and run any app from the office suite they launch correctly and are able to be used.  However the icon that[More]

Office 2013 - Is there a way to when installing that you can change the default save location without having to configure it within the client?

Category:DefaultRelease time:2015-10-11Views:130

So, What I am trying to do is deploy Office 2013 throughout our company, and I do not want the users to save their business or personal files created within Office 2013 on the C: drive or Sky Drive. We have what is called the U: drive and I'd like to[More]

Office 2013 - OSD - Specify different config xml

Category:DefaultRelease time:2015-10-11Views:130

Hi Guys I want to deploy Office 2013 in different languages to different users. It seems there are a few ways to do this. But I am thinking I want to package all languages I need into one Office install package and then in the task sequence have grou[More]

Office 2013: where the heck are the security updates hiding?

Category:DefaultRelease time:2015-10-11Views:130

I built a deployment for Office 2013 yesterday.  The source files were downloaded from Microsoft, with SP1 integrated.  This is *not* a "Click to Run" deployment.  I used the Office Customization Tool to make a few changes (we're not using OneDr[More]

Office 2013 simply refuses to update templates

Category:DefaultRelease time:2015-10-11Views:130

Hi All, Was wondering if you could help as i'm really getting thin on ideas now. I've been working with Azure RMS for a couple of weeks with no problem but all of a sudden I can't get Office 2013 to update the custom templates I've been creating on m[More]

Office 2013 VL App-V 5 packages

Category:DefaultRelease time:2015-10-11Views:130

Hi, We are currently assessing the possibility of deploying Office 2013 as an App-V package since support for VL was announced with MDOP 2013 R2.  I would like to create three independent packages: Office 2013 Project 2013 Visio 2013.  I have success[More]

Office 2013 Std (local) in combination with Office 2013 Pro (App-V)

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have multiple RDS servers, that have Office 2013 Std installed locally. I did this on purpose, after reading some blogs pointing out Office 2013 is a complicated applicatie to stream well. And of course Office 2013 is highly critical to my[More]

Hot
I don't have HDMI input on my TV, but I have RCA, RGB, S-Video, Audio input, and a few others. What options exist to make the Apple TV work and still get HD quality (aside from getting a new TV)? Thanks!Welcome to the Apple Community. DVI Some users [More]
Hello I am trying to convert an excel sheet to a tab limited file. I am using HSSF and unable to track how do i know if the cell encountered is a last filled cell in excel sheet Some of the cells in the sheet can be blank. In that case i am just usin [More]
Just got a Classic 160 and I love it EXCEPT for the fact that half the screen is taken up by a useless image. I want to use the full width of the screen for the title/artist, etc., So if I'm listening to a song from "The Skiffle Sessions: Live in Bel [More]
hi! expert. i have a scenario when user B create delivery order (VL01N)  then get DO No.  I want to send this DO No. to user A 's mail. when i look for user exit with this  [program|http://wiki.sdn.sap.com/wiki/display/ABAP/FindEXITandBADIfroagivenTr [More]
Music does not play during the slideshow I've created using iPhoto 6.0.4 on the MacBook, although it works fine on the iMac running iPhoto 6.0. Running alone, iTunes works fine, so the problem isn't with the speakers. Any thoughts on fixing this woul [More]
I would like to update my macbook pro so i am able to use icloud without updating to mountain lion. I cannot seem to find the first update i need which is 10.7, i found 10.7.1 but it tells me i need just plain 10.7 can someone help?Since there are a [More]
can i hookup touch to tv and play games on itcan i hookup touch to tv Yes, with the correct cable. and play games on it No. Video out is only for videosRead other 2 answers [More]
Hello, I have upgraded our Cisco Prime Infrastructure from version 2.1 to 2.2.1 (with a backup and restore). We have round about 700 APs and three 5208 Controller. So far everything seems to work really fine. The only problem is that there are no new [More]
For background, I work on a very large ecommerce web site that is considering some implementation details of our application-specific "Remember Me" functionality. This is designed to fill in (only) the userid field if the user comes to the login [More]
Hi,     please help me in solving this interface. Iam new to this area , please hel me. 1) Select all the entries from the ZSWAPHISTORY table where the ‘ApproveDate” = SY-DATUM.      The data should be selected on the basis that the entries that are [More]