Spreadsheet Won't Visibly Update Behind Triggered Dialog Box

Last reviewed: November 3, 1994
Article ID: Q68508
The information in this article applies to:
  • Microsoft Excel for Windows, versions 3.0, 4.0, 5.0

SUMMARY

If a macro is allowed to continue execution by the use of a triggered dialog box (which means the dialog box will be allowed to remain on the screen as the macro continues), any changes made by the macro to the document behind the custom dialog box will not be displayed. A triggered dialog box has the same effect as ECHO(FALSE) before using a macro to make changes to a spreadsheet. That is, the changes are actually made, but the screen is not updated (to save time).

If you want to display updating as it takes place, you must use an ECHO(TRUE) statement before statements in the continuing macro code that make changes to the active document. However, this will cause the dialog box to be erased from the screen until it is redisplayed by another DIALOG.BOX statement.

The information above also applies to version 5.0 if you are working with version 4.0 macros. Visual Basic for Applications code allows a spreadsheet to update while a Dialog box (created from a Dialog sheet) is displayed.

REFERENCES

"User's Guide 2," version 4.0, pages 280-281 "User's Guide," version 3.0, page 639


KBCategory: kbusage
KBSubcategory:

Additional reference words: 3.0 3.00 4.0 4.00 5.0 5.00


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: November 3, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.