Hi, I'm trying to make a condition in a userform that if deposit is less then property value * 0.05 then msgbox "etc"

However, when I run the code so that the deposit is less than propertyvalue * 0.05, the msgbox doesn't appear?

Any help would be greatly appreciated.

If the image I've attached doesn't work then here is the code I've written

If Deposit < PropertyValue * 0.05 Then MsgBox "Sorry, deposit must be a minimum of 5% of the property value"

Problem.png