Everything about PowerPoint programming including VBA, VSTO, and more.
In this conversation, John talks about his new Icon Gallery add-in for PowerPoint.
Have you created or inherited a PowerPoint file that contains a linked video file that you want to share with others? Wouldn’t it be easier if you could send your recipients a PowerPoint file that contained all the videos as part of the file, rather than send them the linked videos separately?
By John Korchok
We looked at the basics of XML programming in our Introducing XML Hacking in Microsoft Office post. Now, let us take this concept further. Let’s start hacking some XML with a simple project: setting the default table text size.
This article assumes you have a suitable text editor installed. Mac users should also read the XML Hacking: Editing in OS X post.
When you insert a new table in PowerPoint, the default table text size is 18 points. Using XML hacking, we can set this to whatever point size the designer prefers. You can also set the text to appear in all caps. Following the previous post’s instructions, add .ZIP to the file ending and unzip the file. Look for the ppt folder and open it:
By John Korchok
With the introduction of Office 2007, Microsoft changed the basic file format that underlies Word, PowerPoint, and Excel. Instead of the proprietary and mostly undocumented format that ruled from Office 97 to Office 2003, Microsoft made a smart decision and switched to XML. This is tagged text, similar in structure and concept to HTML code with which you may already be familiar.
XML opens up a world of possibilities for automated document construction, but that’s a topic for another day. The everyday relevance is that if a Word or PowerPoint file isn’t doing what you need it to do and there are no tools in the program for the job, we can now dive in and edit the file ourselves. If you’re a point-and-click user, this is probably not thrilling. But if you’re a hacker at heart, a midnight coder, or just a curious tinkerer, you can do some cool stuff.
The Notes Master does not work as predictably as the Slide Master in PowerPoint, and you have to reset (sorry, reapply) the Notes Master to individual Notes pages to see some changes you made. Why is that so? That’s mainly because there’s no way to select all Notes Pages in your presentation at the same time.
Even if you go are courageous enough to do this task manually, one Notes Page at a time, you will only see the Reapply master option when you first right-click an empty area within Notes Page view to bring up the contextual menu, as shown in Figure 1, below. You then need to choose the Notes Layout option in this menu, as shown highlighted in red within Figure 1, to bring up a dialog box of the same name, as shown in Figure 2, below. You then check the Reapply master option, as shown highlighted in red within Figure 2. Do the same for forty or a hundred slides, and you may not be too delighted, to say it lightly!
Figure 1: Right-click an empty area within Notes Page view
Figure 2: Reapply Notes Master
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.