PC Review


Reply
Thread Tools Rate Thread

AutoFit not working properly

 
 
zxcv
Guest
Posts: n/a
 
      3rd Aug 2010
I have a cell formatted to wrap. I put in a value that is two words,
"Column plan". The row height is 25.50 so enough room for 2 lines in
the cell. If I make the column very narrow and then either double
click it or call a macro with Selection.Columns.AutoFit it only goes
to 5.57 wide and loses the "n" in column to the second line:

Colum
n plan

How can I get this to automatically size properly to look like:

Column
plan

?

In other words I want to do an AutoFit that will be as wide as my
widest word.

Note I am using Excel 2003 but my users could have other versions.
 
Reply With Quote
 
 
 
 
Don Guillett Excel MVP
Guest
Posts: n/a
 
      4th Aug 2010
On Aug 3, 3:54*pm, zxcv <zxcvnos...@yahoo.com> wrote:
> I have a cell formatted to wrap. *I put in a value that is two words,
> "Column plan". *The row height is 25.50 so enough room for 2 lines in
> the cell. *If I make the column very narrow and then either double
> click it or call a macro with Selection.Columns.AutoFit it only goes
> to 5.57 wide and loses the "n" in column to the second line:
>
> Colum
> n plan
>
> How can I get this to automatically size properly to look like:
>
> Column
> plan
>
> ?
>
> In other words I want to do an AutoFit that will be as wide as my
> widest word.
>
> Note I am using Excel 2003 but my users could have other versions.


Post in ONLY ONE GROUP
 
Reply With Quote
 
Don Guillett Excel MVP
Guest
Posts: n/a
 
      4th Aug 2010
On Aug 3, 3:54*pm, zxcv <zxcvnos...@yahoo.com> wrote:
> I have a cell formatted to wrap. *I put in a value that is two words,
> "Column plan". *The row height is 25.50 so enough room for 2 lines in
> the cell. *If I make the column very narrow and then either double
> click it or call a macro with Selection.Columns.AutoFit it only goes
> to 5.57 wide and loses the "n" in column to the second line:
>
> Colum
> n plan
>
> How can I get this to automatically size properly to look like:
>
> Column
> plan
>
> ?
>
> In other words I want to do an AutoFit that will be as wide as my
> widest word.
>
> Note I am using Excel 2003 but my users could have other versions.


Post in ONLY ONE GROUP
 
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
AutoFit not working properly zxcv Microsoft Excel Programming 8 5th Aug 2010 02:22 PM
Excel won't properly autofit row height Michael Nagan Microsoft Excel Discussion 1 30th Jul 2005 03:36 AM
Autofit does not size properly for printing =?Utf-8?B?Qm9i?= Microsoft Excel Misc 2 6th Oct 2004 04:28 PM
Format-Row-AutoFit doesn't work properly lehigh@nni.com Microsoft Excel Worksheet Functions 2 16th Aug 2004 01:41 PM
Row autofit not working properly CharlieH Microsoft Excel Worksheet Functions 0 18th Sep 2003 04:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:48 AM.