+ Reply to Thread
Results 1 to 3 of 3

Automatic browse through defined range

  1. #1
    Registered User
    Join Date
    05-04-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    30

    Automatic browse through defined range

    I need a macro that browses through column A and checks each individual cell value each time a value is entered in column B. If the entered value in column B already exists in column A, it should warn with a MsgBox as invalid value.

    The macro should run automatically OnEntry.

    Anyone up for it??

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Automatic browse through defined range

    Hi.

    Try this:

    checkingvalues.xlsm
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    05-04-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    30

    Re: Automatic browse through defined range

    The macro works per se, but it's locked to Sheet1. I have other macros in the file that creates a new sheet for each day, so it has to change the sheet to which it applies, e.g. Sheets(3)

+ 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