PC Review


Reply
Thread Tools Rate Thread

Copy problem with cells which have Wrap Text property specified

 
 
didi
Guest
Posts: n/a
 
      26th Sep 2005
Hi All.

I create workbooks using MS Excel 2003. First I copy the data itself, then I
copy the data formats (using PasteSpecial Formats). I copied a range of rows
(1:23) and all the rows which have the Wrap Text property specified didn't
change their height. I find the following explanation: when Excel copies the
format of the row it also copies its height. I can change the rows height to
the required by using UsedRange.EntireRow.AutoFit method.

But when I do that, the rows, which have the Marge Cells and Wrap Text
properties specified and user-defined cells width change their height to
standard (i.e. they get the height of standard row, my setting is 17
pixels).

It's understood, that only a part of cell's text is visible, which, of
course, doesn't meet my requirements at all.

I noticed the following thing: if I've saved the workbook, closed the
workbook and opened it again, all rows, which had Merge Cells and Wrap Text
properties specified, hadn't change their height, but rows, which had only
Wrap Text property specified expanded to the required size.

Is there a way to perform this operation without saving and closing the
workbook?

Thanks, Didi




 
Reply With Quote
 
 
 
 
Norman Jones
Guest
Posts: n/a
 
      26th Sep 2005
Hi Didi,

See reponse in Programming.


---
Regards,
Norman



"didi" <(E-Mail Removed)> wrote in message
news:O$Y25$(E-Mail Removed)...
> Hi All.
>
> I create workbooks using MS Excel 2003. First I copy the data itself, then
> I copy the data formats (using PasteSpecial Formats). I copied a range of
> rows (1:23) and all the rows which have the Wrap Text property specified
> didn't change their height. I find the following explanation: when Excel
> copies the format of the row it also copies its height. I can change the
> rows height to the required by using UsedRange.EntireRow.AutoFit method.
>
> But when I do that, the rows, which have the Marge Cells and Wrap Text
> properties specified and user-defined cells width change their height to
> standard (i.e. they get the height of standard row, my setting is 17
> pixels).
>
> It's understood, that only a part of cell's text is visible, which, of
> course, doesn't meet my requirements at all.
>
> I noticed the following thing: if I've saved the workbook, closed the
> workbook and opened it again, all rows, which had Merge Cells and Wrap
> Text properties specified, hadn't change their height, but rows, which had
> only Wrap Text property specified expanded to the required size.
>
> Is there a way to perform this operation without saving and closing the
> workbook?
>
> Thanks, Didi
>
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: text outside merge cells despite clicking wrap text Gord Dibben Microsoft Excel Worksheet Functions 4 17th Jul 2008 09:01 PM
Autofit with Merged Cells/Wrap Text Macro Problem =?Utf-8?B?ZWxmbWFqZXN0eQ==?= Microsoft Excel Misc 3 25th May 2006 06:32 PM
Copy problem with cells which have Wrap Text property specified didi Microsoft Excel Programming 1 26th Sep 2005 11:51 AM
How to set the wrap text property using an UltraWinGrid. =?Utf-8?B?RWR1YXJkbzc4?= Microsoft VB .NET 0 22nd Apr 2005 03:37 PM
Text Wrap within cells Matt Microsoft Excel Misc 1 30th Mar 2004 10:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:16 AM.