PC Review Forums Software General Software Use VBA in PowerPoint macro to create no fill in a text box

Reply
 
Thread Tools Rate Thread
Old 22-11-2009, 01:57 AM   #1
rmccafferty
New Member
 
Join Date: Aug 2009
Posts: 10
Trader Rating: (0)
Default Use VBA in PowerPoint macro to create no fill in a text box

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?
rmccafferty is offline   Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off