Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ben Ben is offline
external usenet poster
 
Posts: 509
Default Auto sort function for a list

Hello I was asked this and didn't know the answer so I'm seeing if any one
else has com accross this.

If i have a list of contacts with 3 coloms name, address, phone # and a
total amount of 47 contacts currently organized by alpha by name. Is there a
way that every month the name at the botom of the list will move to the top
of the list and the ones originally above shift downward. This can be
occomplished by either automaticly each month or a button that can be clicked
when the user descides to update the contact list. If its possible, any light
on the subject would be greatful.

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Auto sort function for a list

Try this small macro:

Sub rotateUm()
Set r1 = Range("A1")
r1.EntireRow.Insert
Set r1 = Range("A1")
n = Cells(Rows.Count, "A").End(xlUp).Row
Set r = Rows(n)
r.Copy r1
r.Clear
End Sub

--
Gary''s Student - gsnu200851


"Ben" wrote:

Hello I was asked this and didn't know the answer so I'm seeing if any one
else has com accross this.

If i have a list of contacts with 3 coloms name, address, phone # and a
total amount of 47 contacts currently organized by alpha by name. Is there a
way that every month the name at the botom of the list will move to the top
of the list and the ones originally above shift downward. This can be
occomplished by either automaticly each month or a button that can be clicked
when the user descides to update the contact list. If its possible, any light
on the subject would be greatful.

Thank you

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
how do I turn off the auto sort function in excel Ollie Excel Discussion (Misc queries) 0 July 20th 06 04:44 PM
Single Excel function to sort a list and eliminate dupes DickSand Excel Worksheet Functions 1 May 19th 06 02:03 PM
Is there a function to auto-sort 2 columns? mpenkala Excel Worksheet Functions 0 November 9th 05 01:09 AM
In Excel, why sort function fails when applied to a list of date? Excel heavy user Excel Discussion (Misc queries) 1 January 18th 05 06:37 PM
Excel Auto Filter: WHY'S SORT @ TOP OF LIST? WHEN I KEY TO "SHOW . Dan W Excel Worksheet Functions 0 December 1st 04 03:53 PM


All times are GMT +1. The time now is 09:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"