Hi all, Just started with vba and need help with a calculation in a userform.
My userform is calculating the sales taxes for an amount given.
I want only 2 decimals of the calculated amount in my Textbox4 after I click the commandbutton1.
I does calculate fine but no matter what I write like "format" or anything else, it always gives me several decimals and often creates a bug.
This is my code as of now without any "format":
What can I do or write to receive a result of 2 decimals after the calculation is done?
Many thanks in advance for your help.
Regards
Leweez
Bookmarks