Error Recording Opening Template with WordBasic Macro

ID: Q157624


The information in this article applies to:
  • Microsoft Word 97 for Windows


SYMPTOMS

When you are recording a Visual Basic for Applications macro in Word and you try to open a template containing a WordBasic macro, the following error message appears:

Word cannot open files containing WordBasic macros while macro recording. Stop macro recording and try again.


CAUSE

WordBasic macros cannot be converted to Visual Basic for Applications while the Visual Basic macro recorder is recording.


WORKAROUND

Stop recording the macro and open the file to automatically convert the WordBasic macro. Save the template in Word 97 format, and then record the macro using the newly converted template.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.


REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

Q163435 VBA: Programming Resources for Visual Basic for Applications

Additional query words: wordcon vb vba vbe

Keywords : kbualink97 kbdta kbdtacode OffVBA word8 word97
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbbug


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