WD2000: Temporary Parameter for Control Does Not Work

ID: Q212616


The information in this article applies to:
  • Microsoft Word 2000


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 is closed.

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

For more information about the temporary parameter, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type temporary parameter in the Office Assistant or the Answer Wizard, and then click Search to view the topic.


MORE INFORMATION

The Temporary feature is intended for other applications that do not 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.


REFERENCES

For additional information about getting help with Visual Basic for Applications, click the article numbers below to view the articles in the Microsoft Knowledge Base:

Q212623 WD2000: Macro Programming Resources
Q226118 OFF2000: Programming Resources for Visual Basic for Applications

Additional query words: vb vba vbe

Keywords : kbdta kbdtacode kbwordvba wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.