Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Quick Question - Function

Status
Not open for further replies.

101287

MIS
Apr 8, 2006
189
US
Is there any function or vba code that I could use to change a text field with a currency format to numberic.

I have a text field numeric that I need to add to a numeric field and don't know how to do it.

Your help will be greatly appreciated.

Luis
 
I guess you mean that there is a currency symbol, dollar for example, in the text field. How about:
strCurr = "$25.00"
curCurr = Val(Mid(strCurr, 2))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top