Visio Guy

Visio Discussions => Programming & Code => Topic started by: rezingg on March 10, 2023, 05:37:03 PM

Title: How to edit Document ShapeSheet in VBA
Post by: rezingg on March 10, 2023, 05:37:03 PM
Hi,
I am familiar with how to manipulate the ShapeSheet of Shape objects using VBA (add sections, delete sections, add, edit and delete rows in User and Prop sections etc.).
Now I would like to do that for the Document ShapeSheet. However, it looks like the Document object doesn't have the same Methods that are used to perform these tasks for Shapes.
How do you programmatically edit the Document ShapeSheet?

Any pointers are greatly appreciated!
Title: Re: How to edit Document ShapeSheet in VBA
Post by: Surrogate on March 10, 2023, 06:39:48 PM
You mast use DocumentSheet
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/290615