Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Autofit does not work when cell is updated automatically.

I have a list in Column A that, when I choose an item, I automatically update
information in Column B. I have selected autofit, but when Col B is updated
is wont autofit. If I select the same item from Col A again then it will. Not
good for the users!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Autofit does not work when cell is updated automatically.

A formula that changes won't make the size of the column change.

Maybe you could have an event macro that runs each times that worksheet
recalculates.

If you want to try that event macro, you can rightclick on the worksheet tab
that should have this behavior. Select view code and paste this in:

Option Explicit
Private Sub Worksheet_Calculate()
Me.Columns.AutoFit
End Sub


SummerGuy wrote:

I have a list in Column A that, when I choose an item, I automatically update
information in Column B. I have selected autofit, but when Col B is updated
is wont autofit. If I select the same item from Col A again then it will. Not
good for the users!


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Autofit does not work when cell is updated automatically.

Dave,

Excellent, I just changes the Columns to Rows for my needs. Thanks so much.

Jim

"Dave Peterson" wrote:

A formula that changes won't make the size of the column change.

Maybe you could have an event macro that runs each times that worksheet
recalculates.

If you want to try that event macro, you can rightclick on the worksheet tab
that should have this behavior. Select view code and paste this in:

Option Explicit
Private Sub Worksheet_Calculate()
Me.Columns.AutoFit
End Sub


SummerGuy wrote:

I have a list in Column A that, when I choose an item, I automatically update
information in Column B. I have selected autofit, but when Col B is updated
is wont autofit. If I select the same item from Col A again then it will. Not
good for the users!


--

Dave Peterson

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 and word wrap don't work? Jack Greb Excel Discussion (Misc queries) 12 January 15th 07 05:32 PM
Autofit doesn't work Rosemary Excel Discussion (Misc queries) 1 October 6th 06 04:21 AM
The Row Height Autofit command does not work. rstrefry Excel Worksheet Functions 4 July 19th 06 05:20 PM
Autofit doesn't work with merged cells Jen_G Excel Discussion (Misc queries) 3 January 30th 06 09:57 PM
Run macros automatically-AutoFit Cindy B Excel Discussion (Misc queries) 3 January 16th 06 07:54 PM


All times are GMT +1. The time now is 04:26 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"