VBA Object in slide show

B

Bill Dilworth

What is it that you are trying to reference?


Slide, shape, text, picture, animation, transition.....

--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
S

Spencer Hutton

a text box, as created by choosing "text box" from the insert menu on a slide.
 
B

Bill Dilworth

Each object on a slide is given a number and a text name.

You can find the name of an object easily by using one of the gadgets in the
PPTools collection. (www.pptools.com) The Object Info button will tell you
both.

You may want to rename the shape object (the textbox) to something
different. This is done for 1) easy reference, and 2) to keep the object
from changing names should the slide be copied.
This is done easily by using this little macro (add to the VBA module,
select a shape in the slide edit window, click on the run icon in the vbe):

Sub Rename()
Dim oShp As Shape
Set oShp = Windows(1).Selection.ShapeRange(1)
oShp.Name = InputBox("Enter new name", _
"Shape Name", oShp.Name)
End Sub

--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
vestprog2@ Please read the PowerPoint FAQ pages.
yahoo. They answer most of our questions.
com www.pptfaq.com
..
 
S

Spencer Hutton

funny you write that, because i had done something simnilar a few days ago to
name the 30 text boxes on the slide. i gave them a clever name to refer to
easily. what i want to do is make the text inside the textbox invisible
(maybe the same color as the background) if it gets clicked on during a slide
show.
 
J

John Wilson

Spencer - do you have some other reason to use vba for this because it can be
easily done without. Unless your good at vba it will look better too because
it will fade away smoothly as default.

custom animation> emphasis.change font color (to backgound color)
trigger on click on text box.
--
-----------------------------------------
Did that help?
_____________________________
John Wilson
Microsoft Certified Office Specialist
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top