PC Review


Reply
Thread Tools Rate Thread

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

 
 
New Member
Join Date: Aug 2009
Posts: 10
 
      22nd Nov 2009
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?
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Powerpoint template can create powerpoint macro file? Alberto Fojo Microsoft Powerpoint 0 2nd Mar 2009 12:52 PM
How do I create a macro to fill in an outlook form? FStuttgen Microsoft Outlook Discussion 1 27th Jan 2009 08:17 PM
How to create memo form macro that pauses to fill in text? =?Utf-8?B?TWFyeSBKYW5l?= Microsoft Word Document Management 6 9th Aug 2007 06:43 PM
How do I create a cross hatch fill in Powerpoint 2007? =?Utf-8?B?bW9ydA==?= Microsoft Powerpoint 4 14th May 2007 11:02 PM
How can I create a letter with fill-in text? =?Utf-8?B?QVBBag==?= Microsoft Word Document Management 1 16th Jun 2005 10:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:27 PM.