Microsoft KB Archive/216706

= WD2000: How to Convert Macros Between WordPerfect and Word =

Article ID: 216706

Article Last Modified on 10/4/2002

-

APPLIES TO


 * Microsoft Word 2000 Standard Edition
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 98 for Macintosh

-



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:  In WordPerfect, run the macros that you want in one document by following these steps:  Type the name of the macro, and then press ENTER. 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.

 Type the name of the macro and press ENTER. Repeat steps a through c until you have all the macros entered into your document. Save your document.</li></ol> </li> To retrieve your WordPerfect macros in Word, follow these steps: <ol style="list-style-type: lower-alpha;"> On the File menu in Word, click Open, select the WordPerfect document that contains your macros, and then click OK.</li> Select the first macro and click AutoText on the Insert menu. Assign the AutoText entry a name and click the Add button.</li> Repeat step b until you have stored each macro as an AutoText or Glossary entry.</li></ol> </li></ol>

Keywords: kbhowto kbinfo KB216706

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.