• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Help with Currency Format in Userform

Hi,

I have 2 listboxes, when I click on the serviceslistbox it will transfer as many services required to the Requiredserviceslistbox, and at the same time it will calculate the Total of the services in the Totaltextbox.

I'm having problem with the currency format, if for example the total amount is $80.00 it will display $00.80 or if the total amount is $100.00 it will display $01.00. How can this be fix in order to see the right amount in the Totaltextbox.

Please see attachment
 

Attachments

  • New Sample.xlsm
    34.6 KB · Views: 3
Hi eddy,
change this line:
Code:
TotalTextBox = Format(myVal2 / 100, "$00.00")
to:
Code:
TotalTextBox = Format(myVal2, "$00.00")
in
Private Sub ServicesListBox_Click()
within the code of your userform.
---
If this was helpful, please click like!
 
Back
Top