Author Topic: Recursive Shape Naming  (Read 5200 times)

0 Members and 1 Guest are viewing this topic.

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4745
  • Ideas Visio-lized into solutions
Recursive Shape Naming
« on: November 23, 2017, 03:01:32 PM »
In response to a prior topic, http://visguy.com/vgforum/index.php?topic=8157.0, this topic provides example code that can be used to create custom shape names and to revert to standard sheet.xyz format. 

Two separate macros.  Both will search thru all shapes, including subshapes of groups, and either do a custom name, or, convert the custom name back to the standard convention.  Both use adapted recursive code to search thru the shapes...not original with me.  The technique is just representative of what can be done.

Enjoy!
Wapperdude

Visio 2019 Pro