+ Reply to Thread
Results 1 to 2 of 2

Message Prompt: A UserForm TextBox value is found in a column range.

  1. #1
    Registered User
    Join Date
    03-01-2018
    Location
    Philippines
    MS-Off Ver
    2003,2007,2010,2013 and 2016
    Posts
    51

    Message Prompt: A UserForm TextBox value is found in a column range.

    I have a userform which includes textboxes. All I need is that when a user entered any name or numbers and found out that they exist in the column range, a message will popout that says "The user or number already exist. Please check your entry."

    If it's not a duplicate, the data will be recorded in a specific column(B:B) but at the top of the existing data in a column(B:B) when clicking on the commandbutton.

    Thank you all for the usual help.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,914

    Re: Message Prompt: A UserForm TextBox value is found in a column range.

    Check out Application.Match.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Search for value in row. if found, copy column formulas into found column range
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2017, 10:42 AM
  2. VBA userform with a message prompt to save or exit without saving
    By Jakeyboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-29-2015, 08:57 AM
  3. Value Enter Cell Value - If match value in a range then prompt message box
    By llc0606 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-03-2013, 05:33 AM
  4. [SOLVED] Exit Userform TextBox using message box
    By Stratfordoaks in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-24-2013, 01:34 PM
  5. Message Box if any of userform textbox are empty
    By Rey Ocampo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-16-2012, 02:42 PM
  6. Error Message When Textbox in Userform Left Blank
    By zaclim78 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-07-2012, 12:19 PM
  7. [SOLVED] show message box when a duplicate entry is entered into a userform textbox
    By reggie1000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2012, 05:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1