A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

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



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2010, 04:12 PM posted to microsoft.public.excel.worksheet.functions
Tom Flaten
external usenet poster
 
Posts: 1
Default 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
  #2  
Old April 28th, 2010, 05:21 PM posted to microsoft.public.excel.worksheet.functions
Luke M[_4_]
external usenet poster
 
Posts: 451
Default 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



  #3  
Old April 28th, 2010, 10:20 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default 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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.