T
Taurus
This is my sort function in VBA:
Sub mSortSheet(oWS As Object, RangeStart As String, RangeEnd As String,
SortCell As String)
oWS.Range(RangeStart & ":" & RangeEnd).Sort Key1:=Range(SortCell),
Order1:=xlAscending, Header:= _
'xlGuess, OrderCustom:=1, MatchCase:=False,
Orientation:=xlTopToBottom, _
'DataOption1:=xlSortNormal
I could i change it to VB6 using the same sort function cos i need to
create oWS as object.
Please provide syntax.
Sub mSortSheet(oWS As Object, RangeStart As String, RangeEnd As String,
SortCell As String)
oWS.Range(RangeStart & ":" & RangeEnd).Sort Key1:=Range(SortCell),
Order1:=xlAscending, Header:= _
'xlGuess, OrderCustom:=1, MatchCase:=False,
Orientation:=xlTopToBottom, _
'DataOption1:=xlSortNormal
I could i change it to VB6 using the same sort function cos i need to
create oWS as object.
Please provide syntax.