+ Reply to Thread
Results 1 to 3 of 3

Macro to filter content and show not found info

  1. #1
    Registered User
    Join Date
    02-02-2012
    Location
    Montevideo, Uruguay
    MS-Off Ver
    Excel 2010
    Posts
    2

    Macro to filter content and show not found info

    Dear all,

    First of all thanks for taking the time to help me with this project.

    The situation is as follows:

    I have a big spreadsheet with lots of data. Specifically in the first column I have a string I use to filter the information and make changes. This is a unique number in the column, there aren't duplicated.

    The idea was to make a macro that will ask for those numbers and once entered it will automatically filter the content. Searching the NET I've found some pointers and came out with something "usefull":

    --------------------------------------------------------------------------
    Please Login or Register  to view this content.
    --------------------------------------------------------------------------

    All this works perfectly and as desired.

    Now I want to add some extra function: If the number I input isn't found in the column or spreadsheet I would like to add it to some kind of array or similar and after the filter is applied, a Msgbox pops out saying something like:

    "Following numbers wasn't found:
    xxxxxxxx1
    xxxxxxxx2
    xxxxxxxx3"

    Is this possible with the code I already have? Could someone point me in the right direction?

    Thank you very much for the help.

    Regards!
    Last edited by Nachol; 02-02-2012 at 12:49 PM. Reason: Forum rules

  2. #2
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Macro to filter content and show not found info

    Please edit your post to use code tags in accordance with forum rules. We may not assist you until you do.
    Type:
    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code]
    Good luck.

  3. #3
    Registered User
    Join Date
    02-02-2012
    Location
    Montevideo, Uruguay
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro to filter content and show not found info

    Sorry for that. Post edited.

+ 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