OK, thanks guys. I think I am getting it slowly figured out!
Ok, I ran into one more snage. I am trying to set up the sorted columns. Can
you tell if there is anything wrong with the code the Selection.Sort area?
Range("C2:E8760").Select
Selection.Copy
Range("L2").Select
ActiveSheet.Paste
Columns("L:L").Select
Application.CutCopyMode = False
Selection.Sort Key1:=Range("L1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
Selection.Sort Key1:=Range("L1"), Order1:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
Columns("M:M").Select
Selection.Sort Key1:=Range("M1"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
Selection.Sort Key1:=Range("M1"), Order1:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
Columns("N:N").Select
Selection.Sort Key1:=Range("N1"), Order1:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
> OK, thanks guys. I think I am getting it slowly figured out!
>
[quoted text clipped - 52 lines]
> > >>> > and
> > >>> > 2007?
Andy Pope - 29 May 2008 19:03 GMT
You should be alright with,
Columns("L:L").Sort Key1:=Range("L1"), Order1:=xlAscending, _
Header:=xlGuess, OrderCustom:=1, MatchCase:=False, _
Orientation:=xlTopToBottom
Does the code you posted not work or raise an error?
Cheers
Andy
> Ok, I ran into one more snage. I am trying to set up the sorted columns. Can
> you tell if there is anything wrong with the code the Selection.Sort area?
[quoted text clipped - 74 lines]
>>>>>>>and
>>>>>>>2007?

Signature
Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
playerbigdog - 29 May 2008 19:10 GMT
It just raised a run-rime error but i will try your code and see how it works.
> You should be alright with,
>
[quoted text clipped - 85 lines]
> >>>>>>>and
> >>>>>>>2007?
playerbigdog - 29 May 2008 19:45 GMT
When i try to put the code into the system and run it; I get the an error
saying that it has disconnected me from the clients (I am guessing that is
the database) and then takes me straight to that piece of code when i click
debug. Why is it disconnecting?
> You should be alright with,
>
[quoted text clipped - 85 lines]
> >>>>>>>and
> >>>>>>>2007?
Andy Pope - 29 May 2008 20:05 GMT
I have no idea. Can not see how that error is related to the sort part.
Do you get the error if you manually try and sort?
> When i try to put the code into the system and run it; I get the an error
> saying that it has disconnected me from the clients (I am guessing that is
[quoted text clipped - 90 lines]
>>>>>>>>>and
>>>>>>>>>2007?

Signature
Andy Pope, Microsoft MVP - Excel
http://www.andypope.info