Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
roger_27 roger_27 is offline
external usenet poster
 
Posts: 4
Default How to open a word doc to last modified page...

I know if you press Shift F5 it will do that. but does someone have the VB
macro code to do this?? I want this to happen every time it is opened. I'm
working on a 200+ page document, and it takes like 10 minutes to find the
page I last worked on.
any help is appreciated.
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Helmut Weber Helmut Weber is offline
external usenet poster
 
Posts: 139
Default How to open a word doc to last modified page...

Hi Roger,

like this:

Sub Autoopen()
Application.GoBack
End Sub

You may limit execution to a specific document,
or to a group of documents according to a property
the docs have in common, if you like.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
roger_27 roger_27 is offline
external usenet poster
 
Posts: 4
Default How to open a word doc to last modified page...

I went to
Macros VB editor

then clicked
Normal Microsoft Word Objects ThisDocument

and pasted the code. I then made 3 pages of gibberish, and clicked in the
center of the second page and entered more gibberish. when I closed and re
opened it took me back to the beginning of the document.

is this code correct?

"Helmut Weber" wrote:

Hi Roger,

like this:

Sub Autoopen()
Application.GoBack
End Sub

You may limit execution to a specific document,
or to a group of documents according to a property
the docs have in common, if you like.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
roger_27 roger_27 is offline
external usenet poster
 
Posts: 4
Default How to open a word doc to last modified page...

ah. I See!

apparently this code only works if you clck
File Save
and then close. but it WONT work if you click the X at the top right and
then click "Yes" to save. wierd. but thanks!

"roger_27" wrote:

I went to
Macros VB editor

then clicked
Normal Microsoft Word Objects ThisDocument

and pasted the code. I then made 3 pages of gibberish, and clicked in the
center of the second page and entered more gibberish. when I closed and re
opened it took me back to the beginning of the document.

is this code correct?

"Helmut Weber" wrote:

Hi Roger,

like this:

Sub Autoopen()
Application.GoBack
End Sub

You may limit execution to a specific document,
or to a group of documents according to a property
the docs have in common, if you like.

--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
last modified date in word footer everson New Users 3 April 21st 06 09:41 PM
Word 2000 TOC Can't Keep TOC modified. mrb74 Microsoft Word Help 0 November 3rd 05 10:10 PM
can word indicate modified or unmodified like wordperfect? Stewart Harris Microsoft Word Help 7 October 11th 05 10:52 PM
"Open File" screen doesn't show date modified info devstudent2 Microsoft Word Help 0 August 29th 05 02:34 PM
SAVING MODIFIED DATE IN WORD OWEN Microsoft Word Help 2 June 23rd 05 08:09 AM


All times are GMT +1. The time now is 09:09 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"