Excel: Picture Object in Dialog box Affected by Zoom

Last reviewed: November 22, 1994
Article ID: Q86486
The information in this article applies to:
  • Microsoft Excel for Windows, version 4.0
  • Microsoft Excel for the Macintosh, version 4.0

SYMPTOMS

In Microsoft Excel version 4.0, when you resize the picture object used in a custom dialog box, either by zooming the macro sheet or by direct manipulation of the object, the picture not fit in the dialog box.

CAUSE

This problem will occur if you fail to include the width and height dimensions of the picture in the dialog box definition table.

WORKAROUND

To work around this problem, specify the width and height dimensions of the dialog box in the dialog box definition table.

MORE INFORMATION

Microsoft Excel 4.0 allows you to use picture objects on buttons or icons in user-defined dialog boxes by specifying the object identifier in the text column of the dialog box definition table on the macro sheet. However, if you leave the width and height columns in the definition table blank the size of the picture in the dialog box is determined by the size of the object on the macro sheet. As a result, zooming the sheet or resizing the picture object will change the size of the picture displayed in the dialog box.

REFERENCES

"User's Guide 2," version 4.0, pages 263-272, 279


KBCategory: kbusage
KBSubcategory:

Additional reference words: 4.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 22, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.