How to get to ShapeSheet for Document

S

Steve Appling

How can I get to the ShapeSheet for the Document from VBA? I know how
to get Cells from a Shape object, but can't figure out how to get to the
one for the whole Document.
 
J

John Marshall, MVP

JuneTheSecond:
On another matter; do you check your email at be.mbn.or.jp?

(Drop me a message at (e-mail address removed))

John... Visio MVP
 
S

Steve Appling

JuneTheSecond said:
Do you mean to display shape sheet?
Or what?
No, I just want to get the value of a custom property that is set in the
shape sheet for the whole document. I can set the value by using the
drawing explorer window to access the shape sheet for the document, but
I can't figure out how to access the value from VBA.
 
S

Steve Appling

Al said:
try something like this

objDocSheet = objDoc.DocumentSheet

al
That did it. In retrospect, that should have been obvious. Thanks for
the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top