ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Another sorting question - easy one! (https://www.excelbanter.com/new-users-excel/180208-another-sorting-question-easy-one.html)

Terri[_2_]

Another sorting question - easy one!
 
Finally figured out how to sort my information but this is my next question.
Everything is sorted alphabetically by the first column (Name)...when I
enter a new name now, will it automatically sort? Or - do I have to do this
exercise of sorting on a constant basis.
Thanks!



DM

Another sorting question - easy one!
 
my experience say you have to sort manually every time unless you I import
it into Access and generate queries or reports.

you included details about ...alphabetically by the first column... is that
what you want? you can queue it to sort by which ever column(s) you want.

"Terri" wrote in message
...
Finally figured out how to sort my information but this is my next
question. Everything is sorted alphabetically by the first column
(Name)...when I enter a new name now, will it automatically sort? Or - do
I have to do this exercise of sorting on a constant basis.
Thanks!



Terri[_2_]

Another sorting question - easy one!
 
Yes I always want it by the first column


"DM" wrote in message
...
my experience say you have to sort manually every time unless you I import
it into Access and generate queries or reports.

you included details about ...alphabetically by the first column... is
that what you want? you can queue it to sort by which ever column(s) you
want.

"Terri" wrote in message
...
Finally figured out how to sort my information but this is my next
question. Everything is sorted alphabetically by the first column
(Name)...when I enter a new name now, will it automatically sort? Or - do
I have to do this exercise of sorting on a constant basis.
Thanks!





Don Guillett

Another sorting question - easy one!
 
You could use a worksheet_change event to fire an automatic macro upon any
entry. Is this ONE cell in col A or any cell within a range of, say
a2:a200???

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Terri" wrote in message
...
Finally figured out how to sort my information but this is my next
question. Everything is sorted alphabetically by the first column
(Name)...when I enter a new name now, will it automatically sort? Or - do
I have to do this exercise of sorting on a constant basis.
Thanks!



Terri[_2_]

Another sorting question - easy one!
 
The ONE cell in Col A ranges from a2 to infinity...

"Don Guillett" wrote in message
...
You could use a worksheet_change event to fire an automatic macro upon any
entry. Is this ONE cell in col A or any cell within a range of, say
a2:a200???

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Terri" wrote in message
...
Finally figured out how to sort my information but this is my next
question. Everything is sorted alphabetically by the first column
(Name)...when I enter a new name now, will it automatically sort? Or - do
I have to do this exercise of sorting on a constant basis.
Thanks!





Don Guillett

Another sorting question - easy one!
 
Private Sub Worksheet_Change(ByVal Target As Range)
lastrow=cells(rows.count,"a").end(xlup).row
Set myrng = Range("a2:f" & lastrow)
If Not Intersect(Target, myrng) Is Nothing Then
myrng.Sort Key1:=Range("a2"), Order1:=xlAscending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
End If
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Terri" wrote in message
...
The ONE cell in Col A ranges from a2 to infinity...

"Don Guillett" wrote in message
...
You could use a worksheet_change event to fire an automatic macro upon
any entry. Is this ONE cell in col A or any cell within a range of, say
a2:a200???

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Terri" wrote in message
...
Finally figured out how to sort my information but this is my next
question. Everything is sorted alphabetically by the first column
(Name)...when I enter a new name now, will it automatically sort? Or -
do I have to do this exercise of sorting on a constant basis.
Thanks!







All times are GMT +1. The time now is 06:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com