View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
J S J S is offline
external usenet poster
 
Posts: 11
Default 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