+ Reply to Thread
Results 1 to 4 of 4

Did i enter this before?

  1. #1
    Registered User
    Join Date
    08-02-2012
    Location
    nl
    MS-Off Ver
    Excel 2010
    Posts
    5

    Did i enter this before?

    Hello.
    I am programming a excel sheet at the moment and have a problem.
    The sheet has more as 2000 rows, names, addresses etc.
    voorbeeld.jpg
    Now my problem.
    Sometimes i have to enter the data of a person i know i have enters before.
    Sometimes i know the firstname, sometimes i know the lastname, sometimes i know even the street etc etc.
    I fill this data in. now i am looking for a macro that gives me the number of te row(s) where i can find the matching data.
    I can't get it to work.
    Can someone help.

    Thanks Hans

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,257

    Re: Did i enter this before?

    1) Copy this code.
    2) Right-Click the sheet tab of interest.
    3) Select "View Code"
    4) Paste the code into the window that appears.
    5) Save the file as a macro-enabled .xlsm file.
    6) Choose which message box you prefer

    Please Login or Register  to view this content.
    Last edited by Bernie Deitrick; 04-30-2015 at 03:52 PM.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    08-02-2012
    Location
    nl
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Did i enter this before?

    Thank you very much Bernie.
    But this is not exactly what i am searching.
    I would like to compare all my data (which I have entered) against all rows.
    But thank you again.

    Greetings Hans

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,257

    Re: Did i enter this before?

    You could run this, either manually or based on an entry in a specific column:

    Please Login or Register  to view this content.

+ 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] How to increase/decrease numbers using keystrokes enter/shift+enter?
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-12-2014, 05:57 AM
  2. [SOLVED] Enter Line-Break [Alt + Enter] at specific location
    By jewelsharma in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-27-2014, 12:23 AM
  3. Replies: 5
    Last Post: 12-06-2010, 04:39 PM
  4. Replies: 2
    Last Post: 10-20-2005, 05:05 PM
  5. Replies: 2
    Last Post: 08-03-2005, 09:05 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