PowerPoint Use VBA in PowerPoint macro to create no fill in a text box

Joined
Aug 9, 2009
Messages
11
Reaction score
0
I am trying to make a text box have no fill, using a macro in PowerPoint 2007.

I went to an XP version of PowerPoint and recorded a macro to do this. The code it created was:

With ActiveWindow.Selection.ShapeRange
.Fill.Visible = msoFalse
.Fill.Solid
.Fill.Transparency = 0#
End With


This code works fine in a macro in the XP version of PowerPoint, but does not work in PowerPoint 2007 . It returns a solid white fill with no transparency.

Does anyone know what code will work in VBA (a macro) in PowerPoint 2007 to give a text box no fill at all?
 

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