PDA

View Full Version : Visio VBA - Edit Shapesheet for Multiple Items



fallwind
04-12-2023, 12:25 PM
Hello! I am working with an Org Chart and would like to select all Master objects, and edit the shapesheet for each without having to reference the specific item IDs. I have found some answers for how to add a row, but not edit an existing row. When recording the macro and manually making the change in a shapesheet, the line of code for the change itself is this:


Application.ActiveWindow.Shape.CellsSRC(visSectionUser, 3, visUserValue).FormulaU = "0"

I cannot crack how to select each shape in each master object and then reference the shapesheet row. Please help!