Save Location on Closing a Document

A

afyinc

How can I save the location when I close a long document?
Wen I reopen the document I want to be where I was
unstead of page one of the document?

Thanks much
 
A

Alexander

If you are saving your document through code, then you can use ChDir:

This example uses the ChDir statement to change the current directory or
folder.

' Change current directory or folder to "MYDIR".
ChDir "MYDIR"

' In Microsoft Windows:
' Assume "C:" is the current drive. The following statement changes
' the default directory on drive "D:". "C:" remains the current drive.
ChDir "D:\WINDOWS\SYSTEM"

If you are doing that not through vb-code, then, what do you think: how
program should know what do you want or like?:) My word remembering the last
DIR I've changed when save something anyway.

Alex
 
D

Doug Robbins - Word MVP

Hi afyinc,

From the Help file:

Microsoft Word keeps track of the last three locations where you typed or
edited text.

To return to a previous editing location, press SHIFT+F5 until you reach the
location you want.

Note You can also use this feature to return to a previous location after
saving your document.

Please respond to the newsgroups for the benefit of others who may be
interested.

Hope this helps
Doug Robbins - Word MVP
 
A

afyinc

I got this useful help from Doug Robbins. Thanks, Doug.

-----------------

Microsoft Word keeps track of the last three locations
where you typed or
edited text.

To return to a previous editing location, press SHIFT+F5
until you reach the
location you want.

Note You can also use this feature to return to a
previous location after
saving your document.

Hope this helps
Doug Robbins - Word MVP
 

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