Word for Windows Batch Conversion Macro

ID: Q107439


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word for Windows NT, version 6.0

SUMMARY:

Word for Windows includes a batch conversion macro that allows you to convert multiple files from another file format to Word file format and from Word file format to another file format. The macro is located in the conversion template in the C:\MSOffice\Winword\Macros subdirectory.

If the conversion template is not installed, rerun the Word setup program to install this file.

MORE INFORMATION:

To run the Word batch conversion macro, follow these steps:

  1. On the File menu, click Templates.


  2. Click Add.


  3. Locate the C:\MSOffice\Winword\Macros subdirectory. Select the Convert7.dot (Word 7.0) or Convert.dot (Word 6.0) file, and click OK.


  4. Click OK.


  5. On the Tools menu, click Macro.


  6. From the list of macros, click BatchConversion.


  7. Click Run.


  8. Follow the prompts.


For information about how to do this Word 97, please see the following article in the Microsoft Knowledge Base:
Q157094 Using the StartConversionWizard to Convert Multiple Documents

The Batch Conversion Process

  1. Specify if you are converting from another format to Word format or to another format from Word format.


  2. Select the conversion choice from list of installed converters.

    Note: Only one converter can be chosen at one time. You can't convert files of multiple formats at the same time.


  3. Provide the drive and directory where Word should retrieve the files to convert.


  4. Provide the drive and directory where Word should place the converted files.

    NOTE: If you select the directory where the files are currently located, Word will prompt you to provide a new filename extension for each file. To avoid this, either select a different directory or choose to rename all the files before you start the batch conversion process in step 5 below.


  5. Select the files to be converted by:


    • Double-clicking listed filenames.


    • -or-
    • Choosing the Select All button. (You can remove and rename selected files from this dialog.


Batch conversion occurs.

Batch Conversion Information for Word 1.x and 2.x

Microsoft Word for Windows versions 1.0, 1.1, 1.1a, and 2.0 each include a batch file conversion macro that allows you to convert multiple files from a foreign format to Word for Windows in an automated manner. In versions 1.x, this macro was available in the supplied sample document EXAMPLES.DOC. In version 2.0, the macro is available in the document NEWMACRO.DOC.

Additional query words: textconv

Keywords : kbinterop kbconversion textconv
Version : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a; winnt:6.0
Platform : WINDOWS winnt
Issue type : kbinfo


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