Knowledge Base

Error Recording Opening Template with WordBasic Macro

Article ID: 157624

Article Last Modified on 1/19/2007


APPLIES TO


This article was previously published under Q157624

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 that this is a problem in the Microsoft products that are 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:

163435 VBA: Programming Resources for Visual Basic for Applications



Additional query words: wordcon vb vba vbe

Keywords: kbbug kbdtacode kbfix kbualink97 KB157624