+ Reply to Thread
Results 1 to 2 of 2

Search Button - Finds Part Numbers with numbers, letters and characters

  1. #1
    Registered User
    Join Date
    07-15-2016
    Location
    Wisconsin
    MS-Off Ver
    2010
    Posts
    80

    Search Button - Finds Part Numbers with numbers, letters and characters

    Hi Everyone,

    I currently have a Userform that you type a part number in, which can include letters, numbers, characters (mainly -,*). When clicking the command button with the magnifying glass, it will search the part number in the 'RI PN Info' spreadsheet and pull the appropriate data into the correct textboxes. Unfortunately, it is not working on part numbers with characters in them. Can you please help. Here is part of the code for quick reference.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,651

    Re: Search Button - Finds Part Numbers with numbers, letters and characters

    Use the Find Method for a text search.

    Please Login or Register  to view this content.
    NOTE: If the user types in an asterisk (*) in the textbox, that is considered a wild card and will match any characters.
    Last edited by AlphaFrog; 01-13-2021 at 12:38 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Replies: 11
    Last Post: 12-01-2017, 12:47 PM
  2. [SOLVED] Setup Textbox to enter only numbers and letters, not especial characters
    By eddyrcabrera79 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-04-2015, 11:52 AM
  3. Selecting letters/characters/numbers separately for a filter
    By WasWodge in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-08-2014, 09:12 PM
  4. Replies: 1
    Last Post: 02-01-2013, 06:30 PM
  5. [SOLVED] Making a Part# List, Sequential Increments with Letters and numbers in front...
    By kpl39 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-31-2012, 08:29 PM
  6. Replies: 4
    Last Post: 08-06-2012, 11:52 AM
  7. Count specific characters with numbers or letters
    By hoppscrouse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2007, 09:02 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