A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

VBA Q



 
 
Thread Tools Display Modes
  #1  
Old July 25th, 2008, 08:31 PM posted to microsoft.public.powerpoint
Alexf
external usenet poster
 
Posts: 52
Default VBA Q

Hello, could you help me with this?

First, Slide 3 is blank.
Say that I press a button on slide 2. This triggers a picture to appear on
slide 3.
When I exit the presentation, then return to slide 3 directly, I will still
see the picture without having to click the button on slide 2. Is there any
way I can do this?
  #2  
Old July 28th, 2008, 04:17 PM posted to microsoft.public.powerpoint
David M. Marcovitz
external usenet poster
 
Posts: 1,267
Default VBA Q

ActivePresentation.Slides(3).Shapes("YourShapeName ").Visible = msoTrue

This will set the shape that is named YourShapeName on slide 3 to be
visible. If you exit the slideshow, the shape will still be visible.
However, if you close the presentation and don't save, the change you
made will not be kept so you might want to add:

ActivePresentation.Save

That will automatically save the change. If you want to make the shape
invisible again, just use the same line with msoFalse instead of
msoTrue.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

=?Utf-8?B?QWxleGY=?= wrote in
:

Hello, could you help me with this?

First, Slide 3 is blank.
Say that I press a button on slide 2. This triggers a picture to
appear on slide 3.
When I exit the presentation, then return to slide 3 directly, I will
still see the picture without having to click the button on slide 2.
Is there any way I can do this?


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.