Excel: Part of Dialog Box with Trigger Items Is Erased

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

SUMMARY

In Microsoft Excel, if you select a custom dialog box item that is a trigger, the Macintosh system may overwrite portions of the dialog box with parts of items on the desktop. Items that may be used to overwrite portions of the dialog box include title bars of windows behind the dialog box, other applications, and portions of the dialog box that overlap the desktop region.

To avoid this behavior, make sure an Excel document completely covers the region behind the dialog box. One way to do this is to open a blank worksheet and zoom (maximize) it to its full size.

If this is being done through a macro, the FULL(TRUE) macro statement can be used to zoom the active document to its full size.

MORE INFORMATION

Steps to Reproduce Problem

  1. Close all open Excel documents and create a new macro sheet.

  2. Enter the following information into the macro sheet (leave columns C through F blank):

       A1: =DIALOG.BOX(B1:H3)  B1:        C1:
       A2: =IF(A1=1,GOTO(A1))  B2: 113    C2: Check box
       A3: =RETURN()           B3: 1      C3: OK
    
    

  3. Select cell A1 in the macro sheet and from the Formula menu, choose Define Name.

  4. Type "test" (without the quotation marks) for the name, select the Command button, then choose the OK button.

  5. Resize the current Macro sheet so that it is very small and a good percentage of the desktop is visible.

  6. From the Macro menu, choose Run, select the test macro, and choose the OK button.

  7. Click the check box. The dialog box disappears momentarily while the macro runs. This is when the Macintosh System is drawing the desktop or the other applications running in the background over the dialog box.

REFERENCES

"Microsoft Excel User's Guide," version 3.0, pages 635-636


KBCategory: kbusage
KBSubcategory:

Additional reference words: 3.0 3.00 4.0 4.00 5.00 macxl


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.