Most of it is formulas. For the 3 values you gave me (SumofHRS, SumOfMINS, and SumOfSECS), I just set them as constant values in the code. You may have to make a minor change, depending on how those values are set up on the form (i.e textboxes, etc).
The "Fix" Function is used to remove everything after the decimal point.
As well, "Result" is the name of the textbox that is used for the final answer. If yours is named something else, make sure you change it in the code (i.e "Me.Result=....").
Anyway, here is the code. I tested it, so I know it works.
Private Sub Command2_Click()
Dim SumOfHRS, SumOfMINS, SumOfSECS As Double
Dim SumOfDAYS, HRSRemainder, NewSumOfHRS, MINRemainder, NewSumOfMINS, SECRemainder As Variant
SumOfHRS = 1530
SumOfMINS = 641285
SumOfSECS = 8460287
NewSumOfMINS = Fix(SumOfSECS / 60) + SumOfMINS
SECRemainder = SumOfSECS - (Fix(SumOfSECS / 60) * 60)
NewSumOfHRS = Fix(NewSumOfMINS / 60) + SumOfHRS
MINRemainder = NewSumOfMINS - (Fix(NewSumOfMINS / 60) * 60)
SumOfDAYS = Fix(NewSumOfHRS / 24)
HRRemainder = NewSumOfHRS - (Fix(NewSumOfHRS / 24) * 24)
Me.Result = SumOfDAYS & " Days, " & HRRemainder & " Hours, " & MINRemainder & " Minutes, " & SECRemainder & " Seconds"
End Sub
comteck