Results 1 to 2 of 2

Thread: Object fill

  1. #1
    Lounger
    Join Date
    Feb 2009
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Was xlNone done away in excel 2007, what is the macro code for an object I want to have no fill?
    MyShape.Fill.Color = xlNone (doesn't work)

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Try

    MyShape.Fill.Visible = False

    (In Excel 2002, Color is not a property of the Fill object, by the way; there are BackColor and ForeColor properties instead).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •