Phantom Word commands

G

Greg

I have started to work with Office Word 2003 and find that the VBA help does
not recognize the SaveTemplate or HelpTool commands listed in the Word macro
dialog box. I believe that he HelpTool command is the action run by the "What
is" toolbar button, and this does not seem to do anything in my tests.

Does any one know anything about this?

Any information appreciated.

Thanks in advance.

Greg
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?R3JlZw==?=,
I have started to work with Office Word 2003 and find that the VBA help does
not recognize the SaveTemplate or HelpTool commands listed in the Word macro
dialog box. I believe that he HelpTool command is the action run by the "What
is" toolbar button, and this does not seem to do anything in my tests.

Does any one know anything about this?
The entries under "All Word commands" in the Macro dialog box correspond to
commands in the menus, toolbars and dialog boxes. If you create a Sub procedure
named exactly the same as a Word command, you'll usually end up "intercepting"
the command so that you can make it do what you want it to do.

And if you precede the command name with WordBasic. you will usually be telling
Word/VBA to execute the command, as it's done in the UI.

No, these things are not in VBA help because they're not part of Word's object
model, but something running in tandem. And the first part, above, is not
available to anyone automating from outside Word.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
G

Greg

Thanks for letting me know about using the WordBasic object in this way. I
found that the 'reveal formatting' functionality that I remember (perhaps
inaccurately) being associate with the HelpTool now is associated with the
FormattingProperties command, but I could not find a way to call this (at
least without resorting to Application.Run).

I don't wish to change the functioning of a command, but I do wonder if the
present list of commands includes build ins that no longer do anything
('HelpTool' being an example).

I apologize for not following you, but could you explain "And the first
part, above, is not available to anyone automating from outside Word"? Do you
mean that one can not run commands that from VBA one would call as
WordBasic.Command from outside Word?

Thanks again for the information.

Greg
 

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