Shauna
Mon Jun 25 09:24:31 CDT 2007
Hi
It works for me. If you step through the code, on which line do you get the
error? What is the error message? And where is the insertion point when you
begin to run the code?
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
"padshall" <padshall@discussions.microsoft.com> wrote in message
news:51130574-E5B2-44A3-9095-B0323DB946AC@microsoft.com...
> This crashes Word 2007 even though it works with previous versions.
> Current
> doc is just standing for the name of the currently active document.
>
> Sub FollowLink()
> Selection.Hyperlinks(1).Follow
> Documents("current.doc").Close
> End Sub
>
> Any one got any idea why?