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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to format a list item to currency type when adding? 1

Status
Not open for further replies.

miscluce

MIS
Oct 4, 2007
149
US
does anybody know how can I format the second column "Me.cboDoughnuts.Column(2)" to currency.?
I would like to diplay dollar signs in my list box.

this is the code I am using:

lstItems.AddItem Me.cboDoughnuts.Column(1) & " " & Me.cboDoughnuts.Column(2)
 
How about:

[tt]lstItems.AddItem Me.cboDoughnuts.Column(1) & " " & Format(Me.cboDoughnuts.Column(2),"Currency")[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top