Microsoft KB Archive/181841

= WD98: "All Active Templates and Documents" Missing Macros =

Article ID: 181841

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q181841





SYMPTOMS
When you display the Macros dialog box, you have the option to list available macros from different sources in the Macros In box. One of the options is "All Active Templates and Documents." When you select this option, you may not see the macros you expect.



CAUSE
The "All Active Templates and Documents" option lists macros available In the following:


 * Templates or documents placed in the Office Start Up folder.
 * Templates or documents made available when you click Templates And Add- Ins on the Tools menu.
 * The currently active document and its attached template.

The "All Active Templates and Documents" option does NOT show the following:

 Macros in non-active, but currently open, documents or templates. New, Open, or Close events for any document. Visual Basic for Applications code placed in UserForm event procedures and Sub procedures or Function procedures.  Sub procedures or Function procedures that expect arguments, as in the following examples: Sub MySub (MyString As String)

-and-

Function MyFunction (MyString As String)   Sub procedures or Function procedures declared as Private, as in the following examples: Private Sub MySub

-and-

Private Function MyFunction 

<div class="workaround_section">

WORKAROUND
Activate the document or template containing the macros you want to see before you display the Macros dialog box.

<div class="status_section">

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

<div class="references_section">