WD97: Temporary Parameter for Control Does Not Work.

Last reviewed: February 11, 1998
Article ID: Q163602
The information in this article applies to:
  • Microsoft Word 97 for Windows

SYMPTOMS

The Temporary parameter for the Visual Basic for Applications Control object does not work as expected.

CAUSE

The Temporary parameter is an optional argument associated with the Control object. Setting this parameter to True should make the new control temporary. Temporary controls are automatically deleted when the container application (Word 97) is closed.

In Word 97, when this parameter is set to True, the control should be temporary; however, Word ignores this parameter and the control becomes permanent.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

The Temporary feature was intended for other applications that didn't support session-specific settings. Because Word can store information in global templates or local templates, you can get all of the Temporary functionality without using the Temporary flag.


Additional query words: 97 7.0 Visual Basic VBA
Keywords : kbwordvba kbmacroexample kbbug kbmacro kbprg
Version : 97
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 11, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.