View the first page

S

Sueprnaut

Hi,
When I open the Visio file it opens the page which I've watched at last
before I close the file. I want to view my first page "Page-1" at every
opening of the Visio file. How can it happens?
If someone know please tell me.
Thank you in advance.
 
C

Chris Roth [MVP]

Hi Suepernaut,

Visio will remember which page you are looking at when you hit Save. If you
return to page 1 before you save, then Visio will remember this.

I tried clearing the workspace, which remember window positions and other
files that might be open, but this didn't seem to help. When you
Save/SaveAs, the Save button can be dropped-down to reveal a "workspace"
check-item. Clearing this didn't make Visio forget which page was in view
when Save was executed.

If you only open the document and don't save it, then your page shouldn't
change. Although I'm not sure if AutoSave might be messing this up...

Sorry for no good answer : (

--
Hope this helps,

Chris Roth
Visio MVP

More Visio shapes, articles, development info and pure diagramming fun at:
www.wanderkind.com/visio
 
S

Sueprnaut

Hi, Chris,
Thanks for the tries. I cope with thismy problem using code (JuneTheSecond
helps me). Here is the code:

Private Sub Document_DocumentOpened(ByVal doc As IVDocument)
ActiveWindow.Page = doc.Pages(1)
End Sub

Best wishes.
 

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