+ Reply to Thread
Results 1 to 2 of 2

Comparing Two Different Sheets from Different Workbooks

  1. #1
    Registered User
    Join Date
    05-31-2010
    Location
    Singapore
    MS-Off Ver
    Excel 2003
    Posts
    2

    Comparing Two Different Sheets from Different Workbooks

    Hi everyone (:

    My problem is :
    I need to compare two different sheets from two different workbooks. Under one workbook, I have one mastersheet with certain column category name from A6 - I6. The thing is, I need to compare all the other sheets (automatically open all the sheets one by one), from all different workbooks (based on the path folder/ directory chosen by user), to the master sheet. If the column category name doesnt match with that of Mastersheet's column category name (A6-I6), it will print out an error message. Any idea? I need the VBA code.

    For instance,
    Under Workbook 'Master', there is 'Mastersheet' sheet, the column A6-I6 category name in 'Mastersheet' sheet
    are 'Name' (A6), 'Age' (B6), 'Gender' (C6), 'Country' (D6), etc.

    Other worksheets under other workbooks (based on path folder chosen by user), say Workbook 'Sample', worksheet 'Sample Testing' sheet. If the A6 in 'Sample Testing' sheet is not 'Name', as well as same thing goes to B6-I6, it will print an error message.

    I hope the example above makes clear my concern.
    Thanks (:
    Last edited by febbry01; 06-02-2010 at 01:43 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Help in Advance NEEDED :(

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

+ 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