Word Hangs When Running an InsertCaption Macro

ID: Q115265

6.00 6.00a WINDOWS

 kbmacro

The information in this article applies to:

SYMPTOMS

Word hangs (stops responding) when running a macro containing an InsertCaption statement. This problem occurs when the InsertCaption statement contains a .TitleAutoText= argument, and the AutoText entry contains a table, OLE object, or footnote.

STATUS

Microsoft has confirmed this to be a problem in Word 6.0 and 6.0a for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

WORKAROUND

Redefine the AutoText entry to include only the text that you want inserted after the label. Do not include a table, OLE object, or footnote.

REFERENCES

"Microsoft Word Developer's Kit," pages 520-521

KBCategory: kbmacro KBSubcategory: Additional reference words: 6.00 6.00a caption label figure embedded word6 winword glossary autotext auto text

Keywords          : kbole kbmacro
Version           : 6.00 6.00a
Platform          : WINDOWS

Last Reviewed: February 6, 1998