PDA

View Full Version : Macro code for displaying in full-screen mode a pps slideshow embedded in a Word doc



jerky1
04-13-2011, 04:23 AM
Hello and thank you forcreating this site,

I have embedded a .pps slideshow in a Word document which is part of an
assignment that the faculty of my university must mark. I have the Office
Professional 2007 Powerpoint version.

The pps slideshow is the size of a postcard and for esthetic purposes, I
don't want to embed a mere icon in the Word document.

WHEN YOU RIGHT-CLICK ON THE MOUSE, THERE IS THE CHOICE: "FULLSCREEN".

Everyone must not forget that the aim of a macro is to execute automatically an action instead of doing it manually.

I do not want to write below the slideshow "double-click and right-click
to display the slideshow in full-screen mode". It would be awkward.

If in the contextual menu, the option "FULLSCREEN" is available, thena
macro code can execute the full-screen mode automatically without doing a
right-click on the mouse to display the slideshow in full-screen mode.

Thanks to a macro code assigned to the embedded object (the pps
slideshow), the faculty, when marking my assingment could view the
slideshow in a comfortable way without making useless and time-consuming
manipulations.

To sum things up, I need a macro code, which may be simple to create for somebody conversant with VBA language, that performs the following actions: When double-clicking on the pps slideshow, Right-click + choose "fullscreen". That's all!


I hope that what I say is explicit enough and that someone could help me
writing the right macro code to do what I have said.

Yours sincerely,

Jerome

PS/ I have posted many messages for help in VBA but nobody gave me a code
and I do not know which way to turn.

Thank you if the person who will read me could give me a hand. I can send
a copy of the Word document which is written in English and deals with the
novelist Virginia Woolf.

PS/ Here's attachment of the Word document in question.

macropod
04-13-2011, 07:07 AM
Cross-posted at: http://www.thecodecage.com/forumz/members-word-vba-programming/208678-whats-code-executing-slideshow-word-document.html
and: http://social.technet.microsoft.com/Forums/en-US/word/thread/2223b7e2-ac14-49f0-8c9b-2926bfbdcd66/#baa203f4-53d2-4a43-95e0-750e0310674f

Jerome: For cross-posting etiquette, please read (again): http://www.excelguru.ca/node/7

The basic problem is that embedded PowerPoint objects have no auto_open macro capability (even native PowerPoint files can't do this without an add-in) and Word has no events to trap once you've opened an embedded PowerPoint object; so Word has no control over the object. As I've already said in the TechNet forum, about the best you can do is embed the object as an icon that opens full-screen when double-clicked.