View on opening file

R

RitaK

I have a Visio file that is going to be used by many people as a pathway into
work areas.

Is there any way that I can lock it so that the document always opens at the
first page and in 75% view?

Any help would be much appreciated.

Thanks

Rita
 
J

John Goldsmith_Visio_MVP

Hello Rita,

Not really, at least not without some code and then you have no guarantee
that your users will have code enabled. If code is an option then you might
want to have a look at this post which deals with some similar issues:

http://visualsignals.typepad.co.uk/vislog/2008/04/synchronizing-p.html

In your case you could just paste the following code into your
'ThisDocument' class:

Private Sub Document_DocumentOpened(ByVal doc As IVDocument)
ActiveWindow.Zoom = 0.75
End Sub

....or...

ActiveWindow.ViewFit = visFitPage

....depending on what you're after.

If you've not tried any code before then you don't be put off. Have a read
of this post and let me know if you have any questions:

http://visualsignals.typepad.co.uk/vislog/2007/10/just-for-starte.html

Best regards

John


John Goldsmith (Visio MVP)
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
 
A

AlEdlund

The easy way would be to set your document up for page 1 @ 75% and then save
it as readonly.
al
 

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