Hello everyone
Really hoping someone can help me as I have been stuck all day trying to figure this out...
I have a spreadsheet which I am working on. I have VBA code which enables a userform depending on the value of a cell
A1 is a drop down via Data Validation with 1,2,3,OTHER
As soon as Other is selected the userform box opens.
The userform that opens is a box with a single text field in it and an OK button. Upon clicking the OK button, it puts the value of the text field in B1
THE ISSUE THAT I AM HAVING IS:
Every time i go into any other cell and press enter in it, it displays the userform box again and again
I need the box to only be displayed when "OTHER" is selected in A1, but nowhere else.
I really hope someone can help me because I am totally clueless at this point...
Really hoping someone can help me as I have been stuck all day trying to figure this out...
I have a spreadsheet which I am working on. I have VBA code which enables a userform depending on the value of a cell
VBA Code:
Private Sub Worksheet_Change(byVal Target As Range)
If [A1].Value = "OTHER" Then
UserFormBox.Show
End If
End Sub
A1 is a drop down via Data Validation with 1,2,3,OTHER
As soon as Other is selected the userform box opens.
The userform that opens is a box with a single text field in it and an OK button. Upon clicking the OK button, it puts the value of the text field in B1
THE ISSUE THAT I AM HAVING IS:
Every time i go into any other cell and press enter in it, it displays the userform box again and again
I need the box to only be displayed when "OTHER" is selected in A1, but nowhere else.
I really hope someone can help me because I am totally clueless at this point...