The following works for me in Word 2003 and should also work in most earlier
versions:
Sub InsertXRef
Dialogs(wdDialogInsertCrossReference).Show
End Sub
Where you place this code is a matter of choice and depends on the context
in which you want this macro to be available. If you want to use it in any
document you create, add it to the Normal template (or to a template saved in
Word's Startup folder). If you want it only for specific documents, put it in
the template on which those specific types of document are based - assuming
that they are based on a certain template and not just the Normal.
You can also assign this macro to a button on a custom toolbar or one that
you add to a built-in toolbar. The process for doing this is covered in the
Word Help topics on macros.
--
Cheers!
Gordon Bentley-Mix
Word MVP
Please post all follow-ups to the newsgroup.
Read the original version of this post in the Office Discussion Groups - no
membership required!