Syntax Error Using the FormatFoldOverBooklet Macro
ID: Q128956
|
The information in this article applies to:
-
Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
SUMMARY
If you run the FormatFoldOverBooklet macro from the Supplemental Macros for
Word Application Note (WD1025), Word may post a WordBasic syntax error when
you click the Set Document Margins button.
This is a known problem with the FormatFoldOverBooklet macro. To correct
the syntax error, edit the FormatFoldOverBooklet macro as follows:
- Open the APPNOTE1.DOT from your <WinWord>\MACROS subdirectory.
- From the Tools menu, choose Macro. Select the FormatFoldOverBooklet and
choose the Edit button.
- From the Edit menu, choose Find. Type "If File" (without the quotation
marks) in the Find What edit box. Choose the Find Next button.
The following instruction should be found:
If FilePageSetup .LeftMargin = dlg3.LeftMargin, .RightMargin
- Delete "If" from the beginning of the FilePageSetup statement.
- From the File menu, choose Close. Choose to save changes to the
FormatFoldOverBooklet macro.
- From the File menu, choose Close and save changes to the APPNOTE1.DOT
file.
MORE INFORMATION
For additional information, please see the following article in the
Microsoft Knowledge Base:
Q123606 WD6X: Supplemental Macros for Word 6.0 for Windows Available
Additional query words:
winword err on error wordbasic 100 WD1025 margins booklet
Keywords : kbmacro kbformat
Version : WINDOWS:6.0,6.0a,6.0c
Platform : WINDOWS
Issue type : kbprb