Troubleshooting Conversion Macros from MACRO.GLY

ID: Q98873


The information in this article applies to:
  • Microsoft Word for MS-DOS, version 6.0


SUMMARY

Word 6.0 includes MACRO.GLY, a file that contains several macros. The WORKS_SAVE, WORKS_OPEN, DCA_SAVE, and DCA_OPEN macros allow you to open and save Word documents in two formats not offered by the Save or Save As command. These macros supply a seamless way to convert documents.


MORE INFORMATION

Usage Hints

For best results, make sure before running a conversion utility that your CONFIG.SYS file contains the following line:


   FILES=20 
If this line is not in the CONFIG.SYS system file, add it to the file before running the converter.

Also, before using the converter for the first time, verify that your AUTOEXEC.BAT file contains the following line:

   SET TMP=<directoryname> 
Where <directoryname> is the path and directory name where temporary files are stored (for example, "SET TMP=C:\TEMP") If this line is not in your AUTOEXEC.BAT file, create a directory for temporary files, and then use Word to add the SET TMP command to your AUTOEXEC.BAT file. (Be sure you save the revised AUTOEXEC.BAT file in text-only format.)

If you make any changes to your CONFIG.SYS or AUTOEXEC.BAT file, restart your computer so that the changes can take effect before you run the converter.

Repaginate documents before and after they are converted.

To run a converter from Word using MS-DOS file commands or supplied macros, you must have 100K of memory free after you start Word.

Troubleshooting

If your macro fails, check the following:

  1. If your macro beeps and appears to be in a continuous loop, make sure that the necessary .EXE files are in the Word directory, or in the directory specified by the MSWNET6 variable. If they are not, the WORKS_SAVE or DCA_SAVE macro may beep and appear to be in a continuous loop.

    If this occurs, press the ESC key. This should eventually exit the macro. You may then receive the following messages:
    File saved in Works format with a .WPS extension. Press Enter to end macro.

    Replace the Word disk if necessary.
    Make sure that all .EXE files are present, then run the macro again.


  2. If the conversion does not occur, you may not have saved and named the file you wanted to convert. The macros use the saved file when creating a converted version of the document. If the file has no name, the conversion will not take place. Make sure the file that you want to save as a Works for MS-DOS or DCA/RFT document has already been saved in Word.

    Although the file will not have been successfully converted, the following message may appear:
    File saved in Works format with a .WPS extension. Press Enter to end macro.
    The DCA_SAVE macro does not generate an error message, but will beep.

    To avoid this problem, save the document in Word, and then run the macro again.


  3. If the WORKS_OPEN macro does not work, it may be because the Works file you are trying to open has an .RTF filename extension.

    This occurs because the macro doesn't respond to the following prompt:
    Input and output files <path\filename.rtf> are the same name. Do you wish to overwrite (Y or N, or press ESC to return)?
    To avoid this problem, rename the document and give it another extension. Then run the macro again.


  4. If the macro DCA_OPEN does not work, it may be because the DCA file you are trying to open has an .MSW extension.

    This occurs because the macro doesn't respond to the following prompt:
    Output file <path\filename.msw> already exists. Do you wish to overwrite (Y or N)?
    To avoid this problem, rename the document and give it another extension. Then run the macro again.


Additional query words: 6.00 glossary

Keywords : kbmacro
Version : MS-DOS:6.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 20, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.