XL98: How to Temporarily Hide a UserForm (184986)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q184986 SUMMARY
If you use the Hide method to hide a custom dialog box in earlier versions
of Microsoft Excel, Microsoft Excel does not hide the dialog box until the
macro that contains the Hide method is finished running.
In Microsoft Excel 98, if you use the Hide method to hide a UserForm, the
UserForm is hidden immediately. You can redisplay the UserForm by using the
Show method in the macro (or in another macro). You can also use the Unload
statement to hide a UserForm; however, any settings in the UserForm are
lost. Note that you may want to use the Unload statement if you want to
reset the UserForm.
This article explains how to create a UserForm and contains a sample Visual
Basic for Applications macro that temporarily hides the UserForm (by using
the Hide method and the Unload statement).
REFERENCES
For more information about hiding UserForms, click the Office Assistant,
type "hide," click Search, and then click to view "Hide Method."
For more information about unloading UserForms, click the Office Assistant,
type "unload," click Search, and then click to view "Unload Statement."
Modification Type: | Minor | Last Reviewed: | 9/12/2006 |
---|
Keywords: | kbProgramming KB184986 |
---|
|