You really need to take the time to read through the VBE help on Dialogs as
well as related links (especially "Displaying built-in Word dialog boxes" and
"Built-in dialog box argument lists"). All the information you need is
there. I'm assuming that as a developer you have Word installed and that
you installed the VBA help files.
In a nutshell, you "display" the dialog (if you want to collect information
but not execute the dialog settings) or "show" the dialog (if you want to
collect information and then execute the settings) and then use a built in
argument to return a value from the dialog.
For instance, adapting an example from the VBE help topic "Displaying
built-in Word dialog boxes":
With Dialogs(wdDialogFilePageSetup)
.Display
MsgBox .Orientation
End With
will display the Page Setup dialog; when the user clicks OK a message box
shows the numeric constant value of the .Orientation setting but because the
dialog was "displayed" the change isn't made to the .Orientation setting.
For information on how to get numeric constant values see the MS
KnowledgeBase article 239930 "How To Obtain Built-In Constant Values for an
Office Application"
(
http://support.microsoft.com/default.aspx?scid=kb;en-us;239930).
HTH