Can someone assist me with the following Error, i think the problem is around this code as it highlights it
- Code: Select all
Private Sub CommandButton1_Click()
Dim lastrow As Long
'below code will make user mandatory to fill name and CP and Telephone: and Branch as numeric value
If Me.TextBox1.Value = “” Then
MsgBox “Please enter the Name and CP”
Me.TextBox1.SetFocus
Exit Sub
End If