02-18-2011, 10:54 PM
See if this will help -
Code:
Dim iTerm ' Term in months
iTerm = 479 'say
msgbox int(iTerm/12) & " years " & iTerm mod 12 & " months"
Want to fast track your QTP/UFT Learning? Join our UFT Training Course