I'm getting an error 13 - Type Mismatch with the following code:
All the variables are defined as Long. What am I doing wrong?
Thanks
Code:
MsgBox "Total trip miles = " & lngTripMiles & _
" and the status miles total = " _
& (lngLoadedMiles + lngEmptyMiles + lngBobtailMiles) & ".", "Trip calculation error"
Thanks
Comment