WD: Known Issues with Word 6.0 & 7.0 Macros

ID: Q120784

The information in this article applies to:

SUMMARY

This article describes known issues with macros included with the supplemental templates shipped with Word for Windows and Word for the Macintosh.

NOTE: These macros are not included in the international versions of Word, with the exception of the French version.

MORE INFORMATION

For general information on the following macros, please see the following article in the Microsoft Knowledge Base:

     ARTICLE-ID: Q105765
     TITLE     : Macros in the CONVERT, LAYOUT, TABLES, and MACRO60
                 Templates

Convert.dot

BatchConversion

1. During conversion, all files are automatically renamed with a .DOC

   extension. If you have multiple files with the same name, but which have
   different extensions, you will receive the following error message
   during the batch conversion:

      A file of the same name exists in the target directory. Would you
      like to rename it or skip the file being converted.

   On the Macintosh, if you choose to rename the file, the macro does not
   save the file if a file with the same name already exists in the target
   folder.

2. Subdirectories located on a Novell NetWare server may not display. The
   root directory and up to one subdirectory of the network drive will
   appear, but no further subdirectories will be available. This happens
   when you select either a source or destination directory. For additional
   information, please see the following article in the Microsoft Knowledge
   Base:

      ARTICLE-ID: Q115149
      TITLE     : BatchConversion Macro Works Incorrectly on Novell
                  NetWare

3. If you are attempting to convert more than 500 files, you will receive
   the following error message:

      Subscript out of Range

   The BatchConversion macro defines a 500-item static array that contains
   the names of the files in the source directory that you want to convert.
   The array cannot accommodate more than 500 files, so the error occurs if
   the number of files in the source directory exceeds that limit. For
   additional information, please see the following article in the
   Microsoft Knowledge Base:

      ARTICLE-ID: Q114236
      TITLE     : "Subscript Out of Range" Error Running BatchConversion
                  Macro

PresentIt

1. After you run the PresentIt macro in Word, a file named ~PRESENT.RTF

   will remain in the Windows TEMP directory. For additional information,
   please see the following article in the Microsoft Knowledge Base:

      ARTICLE-ID: Q114743
      TITLE     : PresentIt Macro Leaves ~PRESENT.RTF in TEMP Directory

2. The PowerPoint manual instructs you to click the PresentIt button in
   Word. Since this button is not added to the Word toolbar automatically,
   you must manually add it. For additional information, please see the
   following articles in the Microsoft Knowledge Base:

      ARTICLE-ID: Q112093
      TITLE     : Word 6.0a Patch Supplies but Does Not Install
                  PRESENT.DOT

      ARTICLE-ID: Q116424
      TITLE     : Adding the Present It Tool to Word

3. The PresentIt macro is located in the following templates:

      Template                    Word Version
      --------                    ------------

      Convert.dot                 6.0 (Windows)
      Present.dot                 6.0a (Windows)
      Present It                  6.0 (Macintosh)

Layout.Dot

ArrangeWindows

The bottom of the dialog disappears on EGA monitors.

BaseShiftDown

If selected text has different raised or lowered character position formats, a uniform character position will be applied to the text when this macro is run.

BaseShiftUp

If selected text has different raised or lowered character position formats, a uniform character position will be applied to the text when this macro is run.

CharacterTrackin

If the selected text contains different font sizes, character spacing is not condensed. This problem only occurs in Word 6.0 for Windows.

CharacterTrackout

If the selected text contains different font sizes, character spacing is not expanded. This problem only occurs in Word 6.0 for Windows.

DecreaseFont

If the selected text contains different font sizes, running the macro will generate the following WordBasic error:

   The value is out of range

IncreaseFont

If the selected text contains different font sizes, running the macro will generate the following WordBasic error:

   The value is out of range

LineSpaceIn

The macro does not decrease line spacing if the selected text contains multiple line spacing formats.

LineSpaceOut

The macro does not increase line spacing if the selected text contains multiple line spacing formats.

OverScore

1. A bookmark remains in the document after this macro is run. This problem

   was corrected in Word 6.0 for the Macintosh and Word 6.0 for Windows NT.

2. The field code won't accept line feeds or paragraph marks.

PrintableCharacters

The bottom of the dialog disappears on EGA monitors.

SectionManager

1. Applying uneven column formatting in a section by clearing the Equal

   Columns check box results in a single column format where the column's
   width is the width of the first column specified in the macro dialog
   box. This problem was corrected in Word 6.0 for Windows NT.

2. Choosing the Help button and returning to the macro dialog box will
   cause extra column numbers to be displayed on the dialog box. This
   problem was corrected in Word 6.0 for the Macintosh and Word 6.0 for
   Windows NT.

3. The dialog box was changed in Word 6.0 for the Macintosh to fit on
   smaller monitors.

4. When you change the Page Orientation of a document with the macro, the
   macro gives the message "WordBasic Error = 100 Syntax Error".

   To resolve the problem, edit the SectionManager macro and change the
   line that reads

      Case Else DlgText "TOrientation", S59$

   to the following:

      Case Else : DlgText "TOrientation", S59$

   This problem was corrected in Word 6.0 for the Macintosh and Word 6.0
   for Windows NT.

Macro60.dot

EnableAutoBackup

The first time the macro is run you will get the following WordBasic error:

   Word cannot find the designated menu item.

The error message occurs because the macro attempts to remove a menu item called "Enable AutoBackup" that has not yet been added. Note that the EnableAutoBackup and the DisableAutoBackup toggle on the opposite macro's menu item on the File menu.

This error will not occur on subsequent executions of the macro.

Note: This macro is not included in Word 6.0 for the Macintosh.

FontSampleGenerator

1. The dialog was changed in Word 6.0 for the Macintosh to allow for

   smaller monitors on some systems.

2. If a PostScript printer is selected, the resulting list will have a
   minimum number of sample fonts per page to prevent the printer from
   exhausting memory.

MindBender

This macro was not included in Word 6.0 for the Macintosh. WordPuzzle was included instead.

WordPuzzle

This macro is not currently available in Word 6.0 for Windows.

OrganizationalChartMaker

1. The macro incorrectly truncates text strings that are 30 characters

   long. For additional information, please see the following article in
   the Microsoft Knowledge Base:

      ARTICLE-ID: Q117343
      TITLE     : Organization Chart Macro Truncates Text Incorrectly

2. You may need to resize the organization chart boxes or modify the font
   size of the text to properly display the text within the boxes.

SuperDocStatistics

1. If the grammar checker has not been installed prior to running this

   macro, you will receive the following WordBasic Error

      WordBasic Err=102
      Command Failed

2. The macro does not generate a complete font report.

3. Improper case is used in the macro's status bar when reporting on the

   number of graphics found.

4. Graphics are bookmarked by the macro; the bookmarks remain in the
   document after the macro stops.

5. Graphics preview does not display graphics if other document statistic
   buttons have been checked first.

For additional information on these issues, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q110176
   TITLE     : SuperDocStatistics: Purpose, Features, Issues

Note: This macro is not available in Word 6.0 for Macintosh.

Tables.dot

TableMath

1. When you double-click the last item in the Values list box, you will

   receive the following error:

      WordBasic Err=143
      Command Failed.

2. When using the Subtraction function, you will receive the following
   error message:

      The SUBTRACTION (-) function cannot operate on more than one value.

3. Target cell contents do not appear in the Show Value message box.

4. When a message appears on the screen, the text in the status bar

   disappears.

5. Table Cells are selected but none appear in the macro.

For additional information on the above issues, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q110165
   TITLE     : TableMath Macro: Purpose, Usage, and Issues

Note: This macro is not available in Word 6.0 for Macintosh.

TableNumber

1. If the table contains 31 columns and Number Left or Number Right is

   selected, you will receive the following WordBasic error:

      This exceeds the maximum number of columns.

2. If Number Left or Number Right is selected, you will receive the
   following message, but no Cancel button is available.

      A Column has been added. Reformatting of the table may be
      necessary.

5.1 UPGRADE (Word for the Macintosh only)

AddFontMenu

Fonts ending with the word "Chancery" may be truncated if the AddFontMenu macro is run with WYSIWYG Menus enabled. For additional information, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q118984
   TITLE     : How to Add the Word 5.1 Font Menu to Word 6.0

   ARTICLE-ID: Q119002
   TITLE     : Known Incompatibilities with Word 6.0 and Now Utilities
               4.01

AddressBook

This macro will operate only if the AddressBook Add-In is installed.

PRESENT IT (Word 6.0 for the Macintosh only)

PresentIt

The PowerPoint manual informs users to click the PresentIt button in Word, however, there is no button. To create a button, do the following:

   1. From the File menu, choose Templates.

   2. Choose the Add button and select the PRESENT IT template, then
      choose the OK button.

   3. Choose the OK button.

To add the button to the toolbar,

   1. From the Tools menu, choose Customize.

   2. Select the Toolbars tab and choose Macros from the Categories list.

   3. Click and drag the PresentIt macro to the desired toolbar.

   4. Choose a Custom Button and Assign it to the PresentIt button.

   5. Choose the Close button.

REFERENCES

"Microsoft Word 6.0 for Windows Resource Kit", Chapter 20, "Guide to Supplied Macros."

Additional query words:

Keywords          : kbmacro kbtemplate winword macword word6 
Version           : WINDOWS:6.0,6.0a,6.0c; MACINTOSH: 6.0,6.0.1
Platform          : MACINTOSH WINDOWS
Issue type        : kbinfo

Last Reviewed: February 7, 1998