Re: Macro list drop down
- From: "Jonathan West" <jwest@xxxxxxxx>
- Date: Wed, 5 Sep 2007 19:19:01 +0100
"Joanne" <Joanne@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CAC8E0DA-8E90-44EE-AA12-5324EC342F16@xxxxxxxxxxxxxxxx
Hello,
I think this is a really silly question but...I have created a form and
within the form I have a text field for which I want to add a macro when a
user enters the field. So I clicked on the drop down to pick the macro
and I
noticed that the way macros are listed makes no sense at all. The macros
in
normal.dot are for the most part just listed by themselves, i.e. without
mentioning the module they're in. But then one of them is listed as
<module
name>.<macro name>. Some of the other listings sometimes include the name
of
the template, sometimes not. There seems to be no rhyme or reason to how
macros are listed. Could someone clarifiy this for me?
Thanks very much.
It's not a silly question at all. The rule for how the routines are listed in the Macro dialog are as follows.
If the procedure name is unique across all loaded templates, then just the
procedure name is shown.
If there are two or more macros with the same procedure name, then on the
list the procedure name is qualified with the module name. You won't
necessarily notice this immediately, because the macros are listed in
alphabetical order of the whole name as displayed.
If there are two macros that can't be distinguished by the module name and
procedure name, because the names are the same but in different templates,
then the project name and if necessary also the template name are used to
distinguish them.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
.
- Prev by Date: Re: Working with SUBs
- Next by Date: Re: NEWBIE:thanks for the help-still needed parser for 1st para.,
- Previous by thread: Need Macro to UnBold TOC
- Next by thread: Re: Stop Printing
- Index(es):
Relevant Pages
|