Shape.SetFillColor 'ObjectName' field as variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mwreyf1
    Indigo Rose Customer
    • Aug 2004
    • 417

    Shape.SetFillColor 'ObjectName' field as variable

    Is it possible to use a variable for the 'ObjectName' for the Shape.SetFillColor action?
  • Intrigued
    Indigo Rose Customer
    • Dec 2003
    • 6138

    #2
    Is this what you want?

    Code:
    strNewColor = "Plugin1"
    	Shape.SetFillColor(strNewColor, 0)
    Intrigued

    Comment

    • mwreyf1
      Indigo Rose Customer
      • Aug 2004
      • 417

      #3
      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...

      Comment

      • Intrigued
        Indigo Rose Customer
        • Dec 2003
        • 6138

        #4
        No problem, glad to be of help.
        Intrigued

        Comment

        Working...
        X