enter image description hereI have a diagram with a bunch of numbered connectors. I'd like to be able to easily/quickly create a list of all of the connector numbers in the diagram. Is there a way to do this without inputting equipment data beforehand (e.g. through VBA or python or some built in report feature)?

EDIT: I have added a sample of the type of diagram I'm talking about. Basically I'd like to be able to click a button and get a list that says: 101, 102, 103, 104, 105.

  • Maybe you can provide the screenshot about the diagram and the result you want.
    – Lee
    Sep 9, 2021 at 9:09
  • @Lee, I just added a sample diagram. They can get more complicated than that, but that is a basic one.
    – Curtis
    Sep 9, 2021 at 12:17

1 Answer 1


I recomnend check this article - Listing Connections in Visio 2010 by David J Parker. There you can find VBA code.

  • This is a great answer. I was able to modify his macro and use Visio.Shape.Text to retrieve the data I was looking for. I would also like to leave a list of Visio.Shape properties here in case someone is trying to retrieve other properties in the future: docs.microsoft.com/en-us/office/vba/api/visio.shape
    – Curtis
    Sep 13, 2021 at 12:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .