XL5: Unable to Resize Spinner Control to Desired Height

Last reviewed: September 12, 1996
Article ID: Q105036
The information in this article applies to:

- Microsoft Excel for Windows, version 5.0

SUMMARY

In Microsoft Excel version 5.0, the height of a spinner control must be an even number of pixels (20, 44, 76, etc.). Because of this limitation, you may not be able to to resize a spinner control to a specific height.

MORE INFORMATION

Spinner controls resemble scroll bars: they have an up arrow component and a down arrow component. They are often used to raise or lower a value by clicking the arrows.

If you want a spinner control to exactly fill a cell on a worksheet, the spinner control may not quite fit the cell or it may extend slightly beyond the boundaries of the cell, depending on the vertical height of the cell. Since there is no direct method to determine the height in pixels of a spinner control or of a cell, you may have to resize the spinner control or the cell manually.

REFERENCES

"Visual Basic User's Guide," version 5.0, Chapter 11, "Sizing, Moving, and Deleting a Control"


KBCategory: kbusage
KBSubcategory:

Additional reference words: 5.00 on-sheet onsheet



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: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.