+ Reply to Thread
Results 1 to 3 of 3

showing message box if the result of texbox doesn't match with the range then clear texbox

  1. #1
    Registered User
    Join Date
    08-24-2012
    Location
    Iran, Tehran
    MS-Off Ver
    Excel 2010
    Posts
    9

    showing message box if the result of texbox doesn't match with the range then clear texbox

    Hi;

    1- As my attached file, i want to show messaage box in case of the result of texbox1 (ID+Candidate) doesn't match in the range ( C column ).
    2- I wonder if ther is a way to create a dynamic combobox2 depends on combobox1.

    So many thanks in advence.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: showing message box if the result of texbox doesn't match with the range then clear te

    Hi,

    I don't get the point on checking the text in the text box every time you enter a new character, it will result in a lot of message boxes. Instead I've implemented a comparison between the "CandidateID" in the sheet with the combination of the combobox selections. Comobox1 displays unique values, combox2 is filled based on selection of combobox1: Userform.xlsm
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Registered User
    Join Date
    08-24-2012
    Location
    Iran, Tehran
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: showing message box if the result of texbox doesn't match with the range then clear te

    It's perfect.
    I hope, I could do reverse engineering for my main file.

    Thanks alot

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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