+ Reply to Thread
Results 1 to 5 of 5

Help With Macro To Compare Sheets

  1. #1
    Forum Contributor
    Join Date
    07-15-2007
    Location
    Bend, Oregon
    MS-Off Ver
    Office 2016 Windows
    Posts
    156

    Help With Macro To Compare Sheets

    Hello,
    As always, everyone is very helpful here and thank you.

    I need help with a Macro to compare two sheets. Need to compare number in column "A" in sheet 1 and 2. If the number exists in both sheets, I need that row to output to sheet 3.

    Thanks Jr

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: Help With Macro To Compare Sheets

    Hello,

    I wrote following code for solve your problem, I hope you will find it useful
    Please Login or Register  to view this content.
    In attached file you will find working example.

    Best Regards
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    07-15-2007
    Location
    Bend, Oregon
    MS-Off Ver
    Office 2016 Windows
    Posts
    156

    Re: Help With Macro To Compare Sheets

    Hello,

    thank you very much. Seems to work fine. An error on my side when explaining. Column "A" is the identifier, but I also need to carry over column "B" which has the description.

    Thanks JR

  4. #4
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: Help With Macro To Compare Sheets

    Hi gaspower,

    I don't want to be unpleasent but I wonder:
    1. why you didn't attach any workbook with sample data
    2. why you didn't give full description of what you need.

    You expecting help from forum site but we can't still guess what you need.

    Please write complete needs together with example workbook.

    for copy data from column A and B change below use below part of code
    Please Login or Register  to view this content.
    MaczaQ

  5. #5
    Forum Contributor
    Join Date
    07-15-2007
    Location
    Bend, Oregon
    MS-Off Ver
    Office 2016 Windows
    Posts
    156

    Re: Help With Macro To Compare Sheets

    Hello,

    thank you. You are not unpleasant at all. You are correct. In the future I will follow your suggestions to make it easier. Completely my error in lack of description.

    Thank you for your help.

    JR

+ 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