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

  • Thread starter Thread starter Peter Müller
  • Start date Start date
P

Peter Müller

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?
 
Back
Top