PC Review


Reply
Thread Tools Rate Thread

[VBA] How to change the property of a line of a shape

 
 
Peter Müller
Guest
Posts: n/a
 
      3rd Feb 2011
Each of the following line produces an error which tells me the value is
not inside the allowed range:

myShape.Line.Weight=1
myShape.Line.ForeColor.RGB=0
i=myShape.Line.ForeColor.RGB
i=myShape.Line.ForeColor.Type

Has anyone a clue what's going on?
 
Reply With Quote
 
 
 
 
Peter Müller
Guest
Posts: n/a
 
      4th Feb 2011
The code works using PowerPoint 2003 but not when using PowerPoint 2007


 
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
Create shape, name shape, add text to shape Rick S. Microsoft Excel Programming 2 27th Feb 2010 08:11 PM
Evaluating if a Shape is a line or a shape Sanjay Microsoft Excel Programming 2 30th Apr 2007 08:21 PM
Animate a shape when clicking another shape grime Microsoft Powerpoint 3 4th Dec 2006 10:11 PM
subtract shape from another shape =?Utf-8?B?Q2hpcA==?= Microsoft Powerpoint 1 17th Nov 2005 03:52 PM
Deleting a shape and the cell contents the shape is in. John DeFiore Microsoft Excel Programming 3 9th Oct 2003 03:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:38 AM.