Microsoft KB Archive/120784

{|
 * width="100%"|

WD: Known Issues with Word 6.0 & 7.0 Macros

 * }

Q120784

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
 * Microsoft Word for the Macintosh, versions 6.0, 6.0.1

-

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:

"Q105765 Macros in the CONVERT, LAYOUT, TABLES, and MACRO60 Templates"

BatchConversion
  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.  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:  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: 

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:
 * 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:
 * 3) The PresentIt macro is located in the following templates:

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
 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. 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. The dialog box was changed in Word 6.0 for the Macintosh to fit on smaller monitors.  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 <pre class="CODESAMP">Case Else DlgText "TOrientation", S59$ to the following: <pre class="CODESAMP">Case Else : DlgText "TOrientation", S59$ This problem was corrected in Word 6.0 for the Macintosh and Word 6.0 for Windows NT. </li></ol>

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:
 * 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
 * 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:

"Q110176 SuperDocStatistics: Purpose, Features, Issues" Note: This macro is not available in Word 6.0 for Macintosh.

TableMath

 * 1) When you double-click the last item in the Values list box, you will receive the following error:
 * 2) When using the Subtraction function, you will receive the following error message:
 * 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:

"Q110165 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:
 * 2) If Number Left or Number Right is selected, you will receive the following message, but no Cancel button is available.

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:

Q118984 How to Add the Word 5.1 Font Menu to Word 6.0

Q119002 Known Incompatibilities with Word 6.0 and Now Utilities 4.01

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

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.