How to Change Color of a Group of Shapes

F

Fox12

Hi, Gurus,

I have a Visio program. I created a group of line shapes. I want to
change the colors of all lines when a specific data goes beyond the range,
say, if value > 1000. How can I do that by using the group properties with
VBA?

Thanks so much in advance.

Fox12
 
J

JuneTheSecond

LineStyle property might be a help.
In this case, a style "Red" must be defined before execution.

If objShape.Shapes.Count > 1000 Then
objShape.LineStyle = "Red"
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top