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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top