Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Validate userform textbox entry with Sheet range.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Jacob Skaria, post: 6418922"] Something like the below.. Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean) If WorksheetFunction.CountIf(Sheets("Sheet1").Range("D:D"), _ TextBox1.Text) > 0 Then TextBox1.Text = "": MsgBox "Already Exists": Cancel = True End If End Sub If this post helps click Yes [/QUOTE]
Verification
Post reply
Forums
Archive
Newsgroup Archive
Excel Newsgroups
Excel Programming
Validate userform textbox entry with Sheet range.
Top