ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I get warpped data to auto fit in merged cells? (https://www.excelbanter.com/excel-worksheet-functions/262660-how-do-i-get-warpped-data-auto-fit-merged-cells.html)

Tom Flaten

How do I get warpped data to auto fit in merged cells?
 
I'm developing a survey form. I want to ask a quesiton and the use four
merged cells to the right of the question to record the answer. I also want
the height of the row to automatically grow if the text exceeds the field
lenght. The only way I see that happening is for just individual cells. Can
I make the function work for merged cells too? If so - how?

Thanks,
Tom Flaten

Luke M[_4_]

How do I get warpped data to auto fit in merged cells?
 
Nope.

Generally, its better to avoid using merged cells as they tend to cause more
problems than benefits. Can you just use a large single cell?

--
Best Regards,

Luke M
"Tom Flaten" <Tom wrote in message
...
I'm developing a survey form. I want to ask a quesiton and the use four
merged cells to the right of the question to record the answer. I also
want
the height of the row to automatically grow if the text exceeds the field
lenght. The only way I see that happening is for just individual cells.
Can
I make the function work for merged cells too? If so - how?

Thanks,
Tom Flaten




Gord Dibben

How do I get warpped data to auto fit in merged cells?
 
You can Autofit rows with merged cells only by using VBA.

One of the many drawbacks to using merged cells.

If you want to go that route...............

See google search thread for code by Greg Wilson. Watch out for word wrap
in the URL which is all one line.

http://groups.google.com/group/micro...1c160cbeb27874

Note..........this is sheet event code and runs when a cell is changed
manually.

To store the code, right-click on your sheet tab and "View Code"

Copy/paste the code into that sheet module.

Alt + q to return to Excel.


Gord Dibben MS Excel MVP

On Wed, 28 Apr 2010 08:12:04 -0700, Tom Flaten <Tom
wrote:

I'm developing a survey form. I want to ask a quesiton and the use four
merged cells to the right of the question to record the answer. I also want
the height of the row to automatically grow if the text exceeds the field
lenght. The only way I see that happening is for just individual cells. Can
I make the function work for merged cells too? If so - how?

Thanks,
Tom Flaten




All times are GMT +1. The time now is 01:21 AM.

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