V
Victor Boris Arnold
Word 2000 SP-3.
I am using the following statement to display the Insert
Hyperlink built-in dialog box and insert the link into the
document. That part works, but according to the VBA help,
the return value of this method should be -1 if the OK
button was used, 0 if the Cancel button was used, or -2 if
the Close button was used. However, no matter what button
I use in the dialog box, the return value is always -1.
If Dialogs(wdDialogInsertHyperlink).Show <> -1 Then
.....do stuff here....
End If
I am using the following statement to display the Insert
Hyperlink built-in dialog box and insert the link into the
document. That part works, but according to the VBA help,
the return value of this method should be -1 if the OK
button was used, 0 if the Cancel button was used, or -2 if
the Close button was used. However, no matter what button
I use in the dialog box, the return value is always -1.
If Dialogs(wdDialogInsertHyperlink).Show <> -1 Then
.....do stuff here....
End If