Link to home
Start Free TrialLog in
Avatar of mindwarpltd
mindwarpltd

asked on

How to sort an array stucture by date variable?

Please see my attached code.

I need to sort my array of type structure by the TransDate Field.

Help, I need code.
Dim mTransForecast() As sTransLedger
 
    Structure sTransLedger
        Dim AcctID As Integer
        Dim TranDate As Date
        Dim TranCategory As eTransCategories
        Dim TranAmount As Double
        Dim TransDesc As String
    End Structure

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of bertlanq
bertlanq
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mindwarpltd
mindwarpltd

ASKER

Yeah I saw that :)
But I didn't have time to make the code work with my setup.
OK as it was urgent I've got it to work.