Dialog boxes members

R

Rocket

Hello,

I'm looking for info about dialog boxes in office.
I want to know inner members of dialog boxes.
For instance : in the "Word.WdWordDialog.wdDialogFilePrintSetup" dialog box,
I want to access the seleted printer.
Where can I find such info ?

Thanks for any reply.
 
J

Jonathan West

Open the Word VBA editor, type the following into the Immediate window

? WdWordDialog.wdDialogFilePrintSetup

When you press Enter, the value of that constant will be displayed on the
line below.

Also, you can press F2 in the VBA editor to go to the object browser and
look up the value there.

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
R

Rocket

Thanks a lot.

Jonathan West said:
Open the Word VBA editor, type the following into the Immediate window

? WdWordDialog.wdDialogFilePrintSetup

When you press Enter, the value of that constant will be displayed on the
line below.

Also, you can press F2 in the VBA editor to go to the object browser and
look up the value there.

--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
Top