Resizing merged / wrapped cells.

G

Guest

Is it possible to automatically resize a cell to show all the text when it is
merged and wrapped. Home/Cells/Format/Auto Fit Row Height does not work. I
am merging and wrapping cells B4 - G4 with 3 rows of text and resizing by
dragging the row to increase the size is a poor solution.
 
G

Gord Dibben

If cells are merged. the row will not autofit even with wrap text enabled
without using VBA

See google search thread for code by Greg Wilson

http://groups.google.com/group/micr...60cbeb27874?lnk=st&q=&rnum=4#ca1c160cbeb27874

Second piece of advice is.............get rid of the merged cells.

They cause no end of problems with copying, pasting, sorting, filtering,
autofitting and a few(many?) others that have slipped my mind at present.


Gord Dibben MS Excel MVP
 
G

Guest

Gord,

Wonderful - many thanks

N.

Gord Dibben said:
If cells are merged. the row will not autofit even with wrap text enabled
without using VBA

See google search thread for code by Greg Wilson

http://groups.google.com/group/micr...60cbeb27874?lnk=st&q=&rnum=4#ca1c160cbeb27874

Second piece of advice is.............get rid of the merged cells.

They cause no end of problems with copying, pasting, sorting, filtering,
autofitting and a few(many?) others that have slipped my mind at present.


Gord Dibben MS Excel MVP
 

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