I need help to lock all of my links automatically. Currently I have a macro
that calls Dialogs(wdDialogEditLinks).Show to allow the user to lock the
links. My problem is that some users just close the dialog box without
locking the links. When this happens, we have problems with the hyperlinks
in the document. What can I do?
Thanks,
Eric
EEvans was telling us:
EEvans nous racontait que :
> I need help to lock all of my links automatically. Currently I have
> a macro that calls Dialogs(wdDialogEditLinks).Show to allow the user
> to lock the links. My problem is that some users just close the
> dialog box without locking the links. When this happens, we have
> problems with the hyperlinks in the document. What can I do?
Something like this:
Dim myField As Field
For Each myField In Selection.Fields
myField.Locked = True
Next

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org