XL: Can't Use BottomRightCell or TopLeftCell with Edit Box

Last reviewed: December 1, 1997
Article ID: Q113794
The information in this article applies to:
  • Microsoft Excel for Windows, versions 5.0, 5.0c
  • Microsoft Excel for Windows 95, versions 7.0, 7.0a
  • Microsoft Excel for the Macintosh, versions 5.0, 5.0a

SUMMARY

In the versions of Microsoft Excel listed above, both the Object Browser and Visual Basic Help indicate that you can apply the TopLeftCell or the BottomRightCell properties to an edit box. This information is incorrect: edit boxes can exist only on dialog sheets. Because an edit box cannot be drawn on a worksheet, the edit box cannot have either the BottomRightCell or TopLeftCell properties.

MORE INFORMATION

You can use the TopLeftCell property for drawing objects on a worksheet to return the cell that lies under the top-left corner of the object. Similarly, you can use the BottomRightCell property to return the cell at the bottom-right corner of the object.


Additional query words: 5.00 5.00a 5.00c 7.00 7.00a XL5 XL7
Keywords : kbprg PgmOthr kbprg
Version : WINDOWS:5.0,7.0; MACINTOSH:5.0
Platform : MACINTOSH WINDOWS
Issue type : kbdocerr
Solution Type : kbworkaround


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: December 1, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.