Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I set up an excel colum so it enters all the information in
alphbetical order? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You cannot format a column to sort.
You have to use event code in the sheet module. Right-click on your sheet tab and "View Code" Copy/paste this code into that module. Private Sub Worksheet_Change(ByVal Target As Range) Columns(1).Sort Key1:=Range("A1"), Order1:=xlAscending, _ Header:=xlGuess, OrderCustom:=1, _ MatchCase:=False, Orientation:=xlTopToBottom End Sub As you enter data in column A it will sort. Gord Dibben MS Excel MVP On Tue, 1 Aug 2006 13:29:02 -0700, Excel questions <Excel wrote: How do I set up an excel colum so it enters all the information in alphbetical order? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I change the order of a colum | Excel Worksheet Functions | |||
colum 1 = product #'s than colum 2 = prod. disc. | Excel Discussion (Misc queries) | |||
how do I alphbetical my addess list | Excel Discussion (Misc queries) | |||
Keeping a sum colum correct after inserting a colum of data in fro | Excel Discussion (Misc queries) | |||
Check data on colum A and find match on colum b | Excel Discussion (Misc queries) |