powerpoint before print - powerpoint

I can get winword and excel beforeprint events, but in powerpoint I can't.
Can anyone show me a link that points me when the slides or presentation beforeprint
in powerpoint:
how?
thanks in advance

Chirag Dalal has a useful list of PowerPoint events, which versions support them and when they occur here:
http://officeone.mvps.org/vba/events_version.html
Unfortunately, there's no BeforePrint event.

Related

How can I add the Text Highlight Color control to a custom xml ribbon in PowerPoint?

I'm building a custom ribbon in PowerPoint and would like to include the Text Highlight Color Picker control on it. I've found an idMso called TextHighlightColorPicker, but it's not recognised by PowerPoint so I just get an error when I open it.
<control idMso="TextHighlightColorPicker" size="large" label=" " />
I've tried various other idMso with the word 'highlight' in but to no avail. I imagine it's simply not available for custom ribbons, but I thought I check to see if anyone knows, because it's seems strange that most of the other buttons are available but not that one.
Thanks in advance!
There is no such command available in PowerPoint 2016. You can find the list of commands available if you navigate to the Customize Ribbon on PowerPoint settings dialog:
Here you can find the list of all available controls. And if you hover the mouse over any entry you may find the idMso value which can be used in the code for building a custom UI.
I eventually found the idMso as per the instructions in Eugene Astafiev's answer, it turns out it is only avaiable in subscription versions. The id is "TextHighlightColorPickerLicense".

Is there a way to know if a powerpoint shape is selected by the user?

I'm creating an addin on powerpoint using office-js and I don't know if there is a method to check if a shape selected by the user ?
I know that in vb.net it looks like this :
Dim shape = selection.ShapeRange.Item(1)
Unfortunately, there is no way to do this in Office.js at this time. It is a good idea. Please consider suggesting it at Microsoft 365 Developer Platform Ideas.

PowerPoint 2016 - Stop Update Link Prompt

When opening PowerPoint I'm always prompted if I want to update the links to other files.
-- How do I disable this prompt?
I'm using PowerPoint 2016
Here is a little info on what I'm trying to do:
I have a few charts which link to an excel spreadsheet.
I've search high and low and all I can find it how to disable this for Excel, nothing related to PowerPoint?
I'm trying to get a PowerPoint presentation to open as a show and loop through the slides while updating the links automatically.
I've got the slides to update the data on each slide change but when opening directly to a show it's not working, I can only assume it's due to the security prompt?
I'm using this to update the slides:
Sub OnSlideShowPageChange(ByVal SSW As SlideShowWindow)
ActivePresentation.UpdateLinks
End Sub
I hope someone can help.
Thanks in advance.
Dane

How do you make an add-in for Excel 2011 (Mac)

I would like to add a button to the Ribbon and have it perform some basic tasks when clicked. Is this possible? If so, how?
Thanks in advance.
No, it is not possible. It looks like it is possible, but it is not. The only proper add in for Excel 2011 Mac is provided with Excel, and the ability to show it in Excel Mac's ribbon is apparently hard-coded into the Excel Mac application. None of the XML-based techniques for extending the Excel Mac ribbon work because the ribbon is hard-coded. It looks like the Windows version, but it is nothing like it.
Obviously, it is hard to provide sources for a negative answer. I have researched this topic carefully including contacting Microsoft support, and found that there is no compiler or IDE from Microsoft for this purpose. You can certainly develop in VBA in Excel Mac, and you can make an XLA add-in, but you cannot access the ribbon. You can create little square Mac toolbar icons, just as in Excel 98.
Here are some useful links that will answer your question:
how to customize the ribbon
how to customize the ribbon with vba
how to create an add in (on MSDN)
a clearer tuto on how to create an addin
Please ask a more precise question if you want more precise help.

How to Remove an Item from the Office Orb Menu in Outlook

Folks,
I've been working on ribbon development in Office 2007, but I'm running into an issue that's driving me a bit nuts. I want to remove the "Permissions" option from the Orb menu of a new mail message in Outlook 2007. I am not having any luck. I'm using VS2008 and VSTO 3. Any suggestions?
Thanks in advance,
Rex
ahh, it turns out I was modifying the XML in the wrong part of the schema. The correct modification would look something like:
<officeMenu>
<splitButton idMso="PermissionRestrictMenu" visible="false"/>
</officeMenu>
<tabs>
To clarify for other readers, you cannot actually delete this feature as a menu option, as per the xml above you can set visible to false, and hide the command.

Resources