Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 349
Default expand row to fit

Is it possible to format a cell / row so that if the text in a cell is longer
than the width the text wraps and the row height expands to include the extra
line(s)?

Thanks,
Peter.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default expand row to fit

FormatCellsAligmentWrap Text

FormatRowAutofit.

Note: if cells are merged the row autofit won't work.


Gord Dibben MS Excel MVP

On Wed, 5 May 2010 15:06:01 -0700, Peter
wrote:

Is it possible to format a cell / row so that if the text in a cell is longer
than the width the text wraps and the row height expands to include the extra
line(s)?

Thanks,
Peter.


  #3   Report Post  
Senior Member
 
Location: Hyderabad
Posts: 237
Thumbs up

Quote:
Originally Posted by Peter View Post
Is it possible to format a cell / row so that if the text in a cell is longer
than the width the text wraps and the row height expands to include the extra
line(s)?

Thanks,
Peter.
Try this on workbook_open event

Worksheets("Sheet1").Range("A1:A65000"). _
AutoFormat Format:=xlRangeAutoFormatClassic1

it will autoformat.
__________________
Thanks
Bala
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
Expand a box Ruth Excel Discussion (Misc queries) 1 September 29th 08 07:46 PM
Fill and expand Geoffric Excel Worksheet Functions 4 June 18th 08 09:45 AM
How do I expand a worksheet? cubc Excel Discussion (Misc queries) 1 October 14th 06 01:33 AM
Can cell expand to fit Stilla Excel Discussion (Misc queries) 1 July 4th 06 05:14 PM
How do I expand the Name Box? JohnnyQuick Excel Discussion (Misc queries) 4 July 8th 05 04:51 PM


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

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"