+ Reply to Thread
Results 1 to 4 of 4

compare values and msg box for permutation

  1. #1
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    compare values and msg box for permutation

    Hi guys,

    I hope someone can help..

    I need a macro that will check if the word in column J5, J6, J7. (what ever cell has been changed in column J) is the same or differnt that the one in column A on the same row.

    If differnt then for a specific msg to pop up to each permuation.

    column A has a drop down list with 3 names, and column J has that same drop down list with the same 3 names.

    I want to be able to have a msg box pop up is in column A5 (for example) the work sarah is entered and in J5 the worked Mary is entered, for the msg box to say "mary is Sarahs mum" ... if Mary is in A6 and Sarah is in J6 upon selecting Sarah a msg box would this say "Mary is Sarahs mum"..

    The words are Sarah, Mary, John

    Is that possible... ? thanks guys
    Last edited by SarahPintal; 05-27-2010 at 08:08 PM.

  2. #2
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Re: compare values and msg box for permutation

    I tried this for an initial tester - see the KeyCellsChanged sub..... nothing happens though.


    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Re: compare values and msg box for permutation

    Okay so this works, though it would be great if someone couple please assist with helping me make it so that if any cell K:K is changed then for the below sub to be called.

    please help, thank you , S

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    209

    Re: compare values and msg box for permutation

    well it seems that silence has solved this.

    I worked it out, this is what I did for anyone that wants to know;
    This is 1 the worksheets code:
    Please Login or Register  to view this content.
    and this is in module 1

    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)

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