Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 2007 AutoFit, WrapText, fails

I use VBA macros to custom sort a range of columns and rows. All the cells
are set to WrapText. In one of the columns, each cell has data that makes the
cell height variable depending on what data resides in that cell (hence
Wraptext), thus row height variable. After sorting using the VBA macro, The
pre-existing cell heights don't change to match the wrapped text.

I have tried manually AutoFit and also AutoFit the range rows in the code
without success. Here is the weird part.

If I add a manual line feed to the data just as a test, AutoFit will resize
properly on sorting.

Any ideas?
Thanks,
facmanboss

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
Autofit/wraptext on vbLf problem KenThompson Excel Programming 2 July 9th 09 01:51 PM
Excel 2007 autofit row height tinks Excel Discussion (Misc queries) 2 April 29th 09 05:03 PM
Excel 2007 Autofit SJHMCSE Excel Discussion (Misc queries) 4 October 25th 08 09:37 PM
Excel 2007 Autofit row/column height CentralBased Excel Discussion (Misc queries) 4 October 6th 08 09:49 PM
Range WrapText and AutoFit with Bold Peter Gummer Excel Programming 4 February 28th 06 03:37 AM


All times are GMT +1. The time now is 05:59 PM.

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

About Us

"It's about Microsoft Excel"