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?
 
Top