+ Reply to Thread
Results 1 to 3 of 3

Working code need to be expanded to full fill the need.

  1. #1
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Working code need to be expanded to full fill the need.

    HI I have below code which was made by He Ho Be and later on moderated by Jb. But i need it to be more flexible. Now you select a sheet to search in and after you put in the search number or word, It search in column C and P. If it find a result i copy all row to sheet 2. I need still the selection of sheet. But the input box with search word need to be replaced by a range from sheet "Input" From A2 and down. So it loop throug all in the range and when it find a match it copy that row from Sheet 1 to Sheet 2. In this way i can choose to search with more numbers or words and find more than one match. I have below code and also i have attached a test sheet to work with,

    Please have a look.

    Thanks in advance
    Sincerly
    Abjac

    My code.

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

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Working code need to be expanded to full fill the need.

    This should do it:
    Please Login or Register  to view this content.

    I added a feature in that the INPUT sheet will have reports added in column B as to the results.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Re: Working code need to be expanded to full fill the need.

    Hi JB. Just went up here and saw your code. I have tested it and its a really great code. This is what i need to use sometimes.
    Great code really.
    Thanks allot and have a nice day.

    Sincerely

    Abjac

+ 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] Working code need to be expanded to multi search also.
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-12-2014, 12:08 AM
  2. toggle full screen code not quite working
    By Bonnister in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2013, 04:01 PM
  3. Need help cleaning up already working code involving conditional shape fill
    By gorcorps in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-26-2012, 11:27 AM
  4. Code to fill in blanks isn't working
    By thedon_1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-27-2012, 07:36 AM
  5. Enter last name, auto fill full name & address--HOW?
    By ana maria in forum Excel General
    Replies: 3
    Last Post: 02-25-2005, 06:06 PM

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