Row height - automatic adjustment

B

Benelly

Hi all,

Is there a way to have the row height adjust automatically to display all
the lines of text that may be in a particular cell ?

I have "WRAP TEXT" selected from the Alignment menu when you format the
contents of a cell but this does not automatically adjust the row height to
display all the lines of wrapped text.

I have been adjusting the row height manually and this is a pain in the
b...... when you have to do this each time your cell contains more than one
line of text.

Thanks in advance for any info that you can share with me.

Regards ..... Ben
 
R

Ragdyer

Doesn't work on "Merged Cells".
Are your cells merged?

BTW, once you *manually* adjust the row height, automatic adjustment is
suspended, even if the cells are *not* merged.

You can reset it by,
<Format> <Row> <AutoFit>
 
B

Benelly

Hi RD,

Thanks for the feedback.

What I would really like know is whether there is a setting in Excel 2003,
that would automatically perform the <Format> <Row> <AutoFit> sequence of
commands automatically as you enter the text into the cell without you
having to select the individual cell or row manually.

Regards ..... Ben
 
G

Gord Dibben

Ben

Not really.

You could format the entire worksheet or a range of rows/cells.

Hit CRTL + A to select all cells.

Format>Cells>Alignment>Wrap Text>OK

Format>Row>Autofit.

You could set up a SHEET.xlt template so all new worksheets are set this way.

You could also use worksheet event code to isolate the action to a certain
range of rows/cells.

Gord Dibben Excel MVP
 
B

Benelly

Hi Gord,

Thanks for your suggestions.

I think the "worksheet event code" sounds like it may be the best solution.
How would i go about setting up this event code. Excuse my lack of knowledge
in this area but is an event code the same as a "macro", which i believe
would still have to be run after the text has been input into the cell, or
something that would run automatically as soon as the text has been entered
into the cell.

I have done a quick search, not an extensive search, in the Excel "Help"
section and not found too much info on event codes.

Please could you point me in the right direction to enable me to try this
solution.

Regards ...... Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top