Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Feb 2003
    Location
    near Blairgowrie, Perthshire, Scotland
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Application.GoBack (Word XP VBA)

    I use this simple macro so I open a document where I last edited it:

    Sub Autoopen()
    Application.GoBack
    End Sub

    Problem: sometimes when I open an additional document it flashes briefly on screen then Word reverts to the previously active document. I can't seem to find a pattern in this behaviour. Any ideas, please?

    Rex Last

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Application.GoBack (Word XP VBA)

    I'm not sure it is relevant, but perhaps GoBack (Shift+F5) doesn't work in some newly-opened documents on the Word MVP site helps.

  3. #3
    Star Lounger
    Join Date
    Feb 2003
    Location
    near Blairgowrie, Perthshire, Scotland
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Application.GoBack (Word XP VBA)

    That's the thing the docs which don't open properly have in common - they were the last ones closed in previous sessions so no built-in bookmark is applied because of the bug (sorry, feature) in Word. Isn't science wonderful? Thanks, Hans.

    Rex Last

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •