-
I used this statement as it appears in VB5.
Code:
imText = Format("345.4545, "#,##0.00")
But I copied exatcly the same line to VB6 and returns me the follow error:
Wrong number of arguments or invalid property assignment.
And selects the Format word.
What's happening?
Thanks!
[This message has been edited by Tonatiuh (edited 12-08-1999).]
-
Perhaps it is a missing quotation mark. You had this
imText = Format("345.4545, "#,##0.00")
and perhapsh you should have had this
imText = Format("345.4545", "#,##0.00")
which works fine for me.