WD2000: How to Convert Macros Between WordPerfect and Word (216706)



The information in this article applies to:

  • Microsoft Word 2000
  • Microsoft Word for Windows 95
  • Microsoft Word 98 Macintosh Edition

This article was previously published under Q216706

SUMMARY

After you open a WordPerfect document that contains a macro in Microsoft Word, the macro no longer functions as expected. Word does not convert WordPerfect macros and they are not stored with the converted file.

MORE INFORMATION

Macros in WordPerfect are analogous to Microsoft Visual Basic for Applications macros in Word. However, the implementations of these macros, for both simple macros and those requiring advanced macro programming commands, are based on different programming models.

In WordPerfect versions 5.0 and 5.1, you can record text typed into a document as macros. This feature is comparable to Word's Glossary (Word 2.0x) or AutoText (Word 6.0x/7.0/97/98/2000) feature. WordPerfect macros are not converted into Word macros, nor are they converted to Glossaries or AutoText entries during document conversion. However, you can "bring over" the text of your macros and re-create them as AutoText or Glossaries. To bring your macros over to Word from WordPerfect, follow these steps:
  1. In WordPerfect, run the macros that you want in one document by following these steps:
    1. Type the name of the macro, and then press ENTER.
    2. Press ALT+F10. WordPerfect displays the following prompt at the bottom of the screen:

      MACRO:

      NOTE: To run a macro that uses the ALT key and a letter from A to Z, simply press ALT in combination with the letter that you assigned to the macro name.

    3. Type the name of the macro and press ENTER.
    4. Repeat steps a through c until you have all the macros entered into your document.
    5. Save your document.
  2. To retrieve your WordPerfect macros in Word, follow these steps:
    1. On the File menu in Word, click Open, select the WordPerfect document that contains your macros, and then click OK.
    2. Select the first macro and click AutoText on the Insert menu. Assign the AutoText entry a name and click the Add button.
    3. Repeat step b until you have stored each macro as an AutoText or Glossary entry.

Modification Type:MajorLast Reviewed:10/4/2002
Keywords:kbhowto kbinfo KB216706