View Full Version : Shape.SetFillColor 'ObjectName' field as variable
mwreyf1
01-12-2007, 09:26 PM
Is it possible to use a variable for the 'ObjectName' for the Shape.SetFillColor action?
Intrigued
01-13-2007, 12:59 AM
Is this what you want?
strNewColor = "Plugin1"
Shape.SetFillColor(strNewColor, 0)
mwreyf1
01-13-2007, 02:15 PM
That was it.
I can't believe I didn't see that.
I was thinking that I also had to pass the quotes ("\"cirlce1\"") and that wasn't workin.
Another case of not seeing the forest for all the trees. :lol
Thanks...
Intrigued
01-13-2007, 11:22 PM
No problem, glad to be of help.
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.