Currently i have the code :
tYear = year (Now)
which gives me 2011. But I need to subtract years and us that value to find in a drop down box.
I tried tYer = tiyear-3 but this did not work.
What is my best way to calculate past years to thus use in a drop down box?
Thx for the help ;-)
Looks like just a typo.
tYer = tiyear-3
tYer = tYear-3
See below also http://knowledgeinbox.com/articles/vbscr...ays-1hr-10-min/
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **