I have the following script for calculation of one textbox plus another textbox, can someone please provide a script that I would use to calculate a percentage, i.e. 100 - 60% (answer 40).
I want this to be a textbox calculation within userform, I don't want to copy values to cells.
I want this to be a textbox calculation within userform, I don't want to copy values to cells.
Code:
TextBox5.Value = CStr(CDbl(TextBox1.Value) + CDbl(TextBox3.Value))