Are you using VBA as your language or VB6?
Also, make use of the format function -
Cost = Format("3", "###.00")
This will give you a decimal value to obtain the cents value as well.
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350