Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I know when dates are entered into cells the column automatically autofits.
Is there any way to do that with text. Instead of clicking on column/format/autofit? Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could use an event macro that autofits the changed cell's columns whenever
you make a change. If you want to try, rightclick on the worksheet tab that should have this behavior. Select view code and paste this into the code window: Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) Target.EntireColumn.AutoFit End Sub But be aware that most macros destroy the Edit|Undo and Edit|Redo stack. (I'd just do it manually so I wouldn't lose that.) falcios wrote: I know when dates are entered into cells the column automatically autofits. Is there any way to do that with text. Instead of clicking on column/format/autofit? Thanks. -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
A simpler way to make a column autofit is to hover over the right hand edge
of the column label. When the cursor changes to the double arrow, then double click. "falcios" wrote: I know when dates are entered into cells the column automatically autofits. Is there any way to do that with text. Instead of clicking on column/format/autofit? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FormatRowAutofit | Excel Discussion (Misc queries) | |||
autofit columns in pivot table | Excel Discussion (Misc queries) | |||
Autofit Row Height | Excel Discussion (Misc queries) | |||
autofit does not autofit | Excel Discussion (Misc queries) | |||
Row Autofit Problem | Excel Discussion (Misc queries) |