+ Reply to Thread
Results 1 to 2 of 2

Compare cell values of different Workbooks and prompt message using macro

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    5

    Post Compare cell values of different Workbooks and prompt message using macro

    Hi to all!


    Hope someone can help me to deal with my problem. I have to workbooks named wbOne and wbTwo with validate command buttons each.
    Both workbooks use sheet1 only. My problem is that if I copy data to these sheets and then i click the validate, the macro will then check if there similar values. e.g

    wkOne
    Sheet1 ColumnA
    123456
    234567
    456789

    wkTwo
    Sheet1 ColumnA
    123456
    345678
    567890


    Notice that the first data for both workbooks is similar. Then after clicking the validate button, a prompt pop-up message will appear

    "wkOne and wbTwo has the same data 123456 in A1"

    The added condition is that the macro will get the filename of the two workbooks with the same data as well as the exact address of the cell and the similar value.

    Thank you so much in advance.

    Regards,
    Jeric A. Lapuz

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Compare cell values of different Workbooks and prompt message using macro

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

+ 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