Forum Discussion
William Kelly
Jan 11, 2018Copper Contributor
Visio VBA Help with Coloring Containers
Hello,
I'm teaching myself VBA for Visio to automate a Program Milestone Report. I've run into a problem when coloring a container. I can see that the settings were established in the VBA code...
William Kelly
Feb 13, 2018Copper Contributor
OK, so doing my own investigation, and a bunch of trial and errors. I've discovered a way to get the color and effects I wanted for the container. After the container is dropped, snag it's ID. Because the container is a grouping of shapes, there are additional shape details that need to be modified. So, snag the ID to a variable and then add the appropriate increment for the sub-shape that needs to be modified.
If anyone has found another way, please let me know.