+ Reply to Thread
Results 1 to 6 of 6

Search based on 2 charcaters chopped off and then next 5 characters

  1. #1
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Search based on 2 charcaters chopped off and then next 5 characters

    Hello,

    Below is the code I am using for searching for a string - cutting off first two characters and
    then performing the search. The first part worked but how can the search be made for
    the next 5 characters?
    Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Search based on 2 charcaters chopped off and then next 5 characters

    twckfa16,

    Do you mean...
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Search based on 2 charcaters chopped off and then next 5 characters

    Yes that worked Great! Thanks

  4. #4
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Search based on 2 charcaters chopped off and then next 5 characters

    What can i do if findit = Nothing and I want to continue the search?

  5. #5
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Search based on 2 charcaters chopped off and then next 5 characters

    twckfa16,

    Something like this...
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Search based on 2 charcaters chopped off and then next 5 characters

    Worked again! Thanks for your help!

+ 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