ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Programmatically detect wrod-wrap? (https://www.excelbanter.com/excel-programming/276777-programmatically-detect-wrod-wrap.html)

J S

Programmatically detect wrod-wrap?
 
Is there anyway to detect if the text in a cell is to large to fit in the
cell and thus will require word-wrap in order to display correctly?

The question is due to the following problem:
- I merge mutiple cells together like cells(1,1) and cells(1,2)
- I turn on word wrap for these cells
- I then try to auto-size row 1 so that all the text in the merge cell will
get displayed.
- Auto-Size does not work!!! It auto-sizes to the standard row height even
thou there are several lines of text that will not be displayed in the
merged cell.

So right now I have no way of making sure that all the text in the cell will
be displayed. Any Ideas?

Janak




All times are GMT +1. The time now is 08:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com