Visio Guy

Solution-specific Visio Discussions => Org Charting => Topic started by: N9NLL on November 21, 2016, 11:38:11 AM

Title: Removing Photo Boxes from Org Charts (2013)
Post by: N9NLL on November 21, 2016, 11:38:11 AM
In Visio 2013, is it possible to use VBA to remove all the photo boxes, instead of manually doing this per page? I am struggling to get this to work!

Really appreciate your help on this.

Nicola
Title: Re: Removing Photo Boxes from Org Charts (2013)
Post by: Yacine on November 21, 2016, 04:50:04 PM
Hi,
1) you don't need to remove or hide the pictures one by one. Select all the org shapes, then remove or hide their pictures by right clicking on one of the shapes and selecting the according options.
2) by VBA, you can select the org shapes probably by the "user.solsh" field (not sure about this), you may need to investigate on this.
Then you can change the value of the field "user.ShowPicture" to 0, one shape after the other.