id for buttons in word 2000

T

tom

Hi, I Need the ID's for some mailmerge buttons in Word 2000: the button
for mailmerge with destination new document, destination printer and
destination e-mail if they already exist in 2000 (they do in word
2002). Otherwise the general button for executing a mailmerge. Easy to
retrieve for someone with Word 2000 and BuiltInControlsScanner.
http://www.add-in-express.com/files/BuiltInControlsScanner.exe
Thanks in advance
Tom
 
H

Helmut Weber

Hi Tom,

how about this one:

Dim B As CommandBar
Dim C As CommandBarControl
Set B = CommandBars("Mail Merge")
For Each C In B.Controls
Debug.Print C.Caption, C.ID
Next


--
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
 
T

tom

Thanks Helmut, the problem is that I dont't have Word 2000! I have 97
and 2002, and for my program I need to know the codes for 2000. In
version 2002 there are other buttons than in 97, so how is that in
2000.
Can anybody help me with that?
Thanks a lot,
Tom
 

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