Knowledge Base

WD98: Error Recording Opening Template with WordBasic Macros

Article ID: 183995

Article Last Modified on 10/4/2002


APPLIES TO


This article was previously published under Q183995

SYMPTOMS

While recording a Visual Basic for Applications macro in Word, you may receive the following error attempting to open a template containing a WordBasic macro:
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 macros. Save the template in Word 98 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 kbfix kbmacroexample kbdtacode KB183995