Thread
:
sorting
View Single Post
#
5
Posted to microsoft.public.excel.misc
Curt
external usenet poster
Posts: 469
sorting
ran code sorted first time ok. now I can not get it to run again. have
rescramble nbrs so it should un scramble. Is it possible to go into options
in excell and enter a list that will give 1234 not 111222333444. What would
use as a seperator for numbers. Tried many option for seperation. Also
formastted column as text
this is bugging me.
Thanks
"excelent" wrote:
Hi Curt: im lost ur post dont give me a hint :-)
"Curt" skrev:
Better explain of problem.
Have entries in column d First to sort out are A B C D These will go to top.
Remainder are nbrs 1 thru 8 Need to sort in groups of 8 as 1 to 8. Never
tried this befor don't know if possible. Learning new tricks at my age is
fun. Trying to help a parade committee of Vets which I am a part of.
All help is greatly appreciated.
"excelent" wrote:
some like this:
sort data in C2:C100 in step of 4 cells
Sub tst()
Dim t
For t = 2 To Cells(100, 3).End(xlUp).Row Step 4
Range(Cells(t, 3), Cells(t + 3, 3)).Select
Selection.Sort Key1:=Range("C2"), Order1:=xlAscending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Next
End Sub
"Curt" skrev:
is there a way to sort by cells in a column also can you repeat the search
after first group are reached. column has many groups of numbers want to
group by 1 to 4 repeated. have not been able to get it to sort allways puts
all 1s 2s together. Want a 1234 group.
Anyone? I'm beat
thanks
Reply With Quote
Curt
View Public Profile
Find all posts by Curt