Error Recording Opening Template with WordBasic Macro (157624)



The information in this article applies to:

  • Microsoft Word 97 for Windows

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



Modification Type:MajorLast Reviewed:11/14/2000
Keywords:kbbug kbdtacode kbualink97 KB157624