What's changed in vba in Word 2007?

P

padshall

Hi folks,
According to a friend, this macro works fine in Word 2003 but causes a crash
in Word 2007. The name boat-03 is the name of the current active document.

Sub FollowLink()
Selection.Hyperlinks(1).Follow
Documents("boat-03.doc").Close
End Sub

I personally don't have Word 2007 to test it myself. Can anyone shed any
light on this?
 

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