+ Reply to Thread
Results 1 to 5 of 5

need to return "Not Found" value

  1. #1
    Registered User
    Join Date
    10-25-2012
    Location
    Phoenix, Az
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    20

    need to return "Not Found" value

    Hey all - I have a functional user form in excel with dependent combox, that pulls data from a hidden worksheet. I need some ideas to alter the existing code to return "Not Found" value if no matches were found in ComboBox3

    Please Login or Register  to view this content.
    any assistance would be helpful.

  2. #2
    Forum Contributor
    Join Date
    06-04-2013
    Location
    Moscow
    MS-Off Ver
    Office 365
    Posts
    100

    Re: need to return "Not Found" value

    try it:
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: need to return "Not Found" value

    It probably would have been better from the get go to use the Find method rather than a loop but keeping with you current version this should work

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-25-2012
    Location
    Phoenix, Az
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    20

    Re: need to return "Not Found" value

    it works but the message box creates a conflict when I attempt to use my clear command - the Suptxt field will not clear the data (unless the clear command is selected twice). Is it possible to have the NOt found response appear in the Suptxt and Sitetxt fields. that would eliminate the msgbox?

  5. #5
    Registered User
    Join Date
    10-25-2012
    Location
    Phoenix, Az
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    20

    Re: need to return "Not Found" value

    never mind . I figured it out thanks for your assistance everyone.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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