S.H.A.D.O.
Well-known Member
- Joined
- Sep 6, 2005
- Messages
- 1,915
Hi Everyone,
I have some Code ...
... that Produces a String of 6 Numbers like :-
07-01-25-13-29-05
How can I Adapt the Snippet of Code Above so that it Produces ANY String in Ascending Order ( 01-05-07-13-25-29 ) from Left to Right Please.
Thanks in Advance.
All the Best.
SHADO
I have some Code ...
Code:
With Application.WorksheetFunction
ActiveCell.Value = .Text(DN, "00") & "-" _
& .Text(MyArray(A), "00") & "-" _
& .Text(MyArray(B), "00") & "-" _
& .Text(MyArray(C), "00") & "-" _
& .Text(MyArray(D), "00") & "-" _
& .Text(MyArray(E), "00")
ActiveCell.Offset(1, 0).Select
End With
... that Produces a String of 6 Numbers like :-
07-01-25-13-29-05
How can I Adapt the Snippet of Code Above so that it Produces ANY String in Ascending Order ( 01-05-07-13-25-29 ) from Left to Right Please.
Thanks in Advance.
All the Best.
SHADO