Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Wrapping text in merged cells

I have merged several cells along one one (eg. A1 - E1). When I enter text
it will not wrap round (effectively resize the row). I have made sure that
"wrap text" is ticked in the options. Whatever I try, I can't get it to wrap
round - please help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Wrapping text in merged cells

Taza

The text is wrapping but the row autofit won't function.

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/micro...1c160cbeb27874


Gord Dibben MS Excel MVP

On Mon, 15 Jan 2007 09:57:00 -0800, Taza wrote:

I have merged several cells along one one (eg. A1 - E1). When I enter text
it will not wrap round (effectively resize the row). I have made sure that
"wrap text" is ticked in the options. Whatever I try, I can't get it to wrap
round - please help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Wrapping text in merged cells

Thanks Gord

I had already put this code in, but no joy. I "right-clicked" the tab,
selected View Code and then pasted the VBA code into the box. I then just
closed the window.

I then entered test text into the merged cell - but no wrapping!!

Is there something else I need to do to make the VBA code work?

Thanks

"Gord Dibben" wrote:

Taza

The text is wrapping but the row autofit won't function.

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/micro...1c160cbeb27874


Gord Dibben MS Excel MVP

On Mon, 15 Jan 2007 09:57:00 -0800, Taza wrote:

I have merged several cells along one one (eg. A1 - E1). When I enter text
it will not wrap round (effectively resize the row). I have made sure that
"wrap text" is ticked in the options. Whatever I try, I can't get it to wrap
round - please help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Wrapping text in merged cells

Gord

Thanks for your help. Ignore my last posting, I've just got it to work -
Yippeeeeee.

However, I am then protecting the sheet (allowing entry only into selected
cells) - but the macro crashes with a failure "Run Time Error 1004 - Unable
to set MergeCells property of the Range class"

Selecting "Debug" highlights the following row in the code ma.MergeCells =
False.

I'm as lost as lost can be - any ideas at all?

Thanks.

"Gord Dibben" wrote:

Taza

The text is wrapping but the row autofit won't function.

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/micro...1c160cbeb27874


Gord Dibben MS Excel MVP

On Mon, 15 Jan 2007 09:57:00 -0800, Taza wrote:

I have merged several cells along one one (eg. A1 - E1). When I enter text
it will not wrap round (effectively resize the row). I have made sure that
"wrap text" is ticked in the options. Whatever I try, I can't get it to wrap
round - please help.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - merged cells w/wrapped text auto row height doesn't work. Fred Excel Discussion (Misc queries) 0 October 21st 05 02:11 PM
Use functions when cells are merged Amanda Excel Worksheet Functions 3 September 12th 05 06:08 PM
Text Wrapping JMB Excel Discussion (Misc queries) 0 July 29th 05 02:41 AM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
How do I get merged cells to display all text. Excel problem Excel Discussion (Misc queries) 2 November 30th 04 04:29 AM


All times are GMT +1. The time now is 03:07 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"