Excel Form to calculate V.A.T
Hi,
I am trying to figure out how to get the value of VAT when you type the amount into a textbox in an excel vba form.
its just a simple form that i have created to control the selling price of my stock over various selling platforms.
i am struggling with getting the VAT when you know the selling price, i just want to be able to deduct vat so i know how much vat is on the selling price.
this is what i had, but this adds value to the selling price and not deducting it, i dont want that. To deduct in excel you would use 83.33%.
If Product11.Value = "£" Then
MsgBox (" Please enter a value in the Selling Price"), vbCritical
Else
Product12.Value = Format("£" & Product11.Value * 0.2)
End If
End Sub
i know vba doesn't like to calculate with percentage signs in the code, not like an excel cell.
any help would be grateful.
Kraig
Recent comments
5 years 42 weeks ago
6 years 28 weeks ago
6 years 40 weeks ago
6 years 43 weeks ago
6 years 44 weeks ago
6 years 49 weeks ago
7 years 5 weeks ago
7 years 6 weeks ago
7 years 6 weeks ago
7 years 6 weeks ago