Results 1 to 8 of 8

Excel VBA - Import File and Compare Sheets

Threaded View

  1. #1
    Registered User
    Join Date
    12-29-2016
    Location
    Tatooine
    MS-Off Ver
    2016
    Posts
    9

    Excel VBA - Import File and Compare Sheets

    Hi all, I'm fighting my way to create a file for reporting purposes.

    The file itself is a spreadsheet that Imports an Excel file (lets call it RAW) with a list of items and categories into the report file (BASE)
    BASE file got several sheet one for each RAW category, and a additional sheet with the addition or removal of items for each category.

    I did my homework and figured out how to import and extract the data from the RAW into BASE on a temp sheet.

    Now I'm struggling to do the previously stated.
    My logic says that procedure should be as follow:

    1. Import File
    2. Read RAW data
    2.a. Compare RAW data item/category with BASE item/category sheet.
    2.b. If RAW item/category exist on BASE item/category sheet = do nothing
    2.c. If RAW item/category not on BASE item/category sheet = add it to BASE item/category sheet and into BASE Tracking sheet as NEW
    2.d. If RAW item/category not on RAW but in BASE item/category sheet = remove it from BASE item/category sheet and add into BASE Tracking sheet as REMOVE
    3. Redo (2) next sheet
    4. Close

    I don't want to put any of you into the trouble of saving me this for me, but just an idea will do the trick.

    Thanks in advance for any idea!
    Attached Files Attached Files
    Last edited by tanomandanga; 11-24-2017 at 12:15 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. import txt file into separate excel sheets and look for a specific row to add
    By tuspilica in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2017, 02:58 PM
  2. [SOLVED] Import Multiple Sheets from one file
    By capson in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-14-2015, 07:36 PM
  3. Import Multiple Sheets from one file
    By capson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-14-2015, 11:04 AM
  4. Help with Macro to compare two sheets in Excel File.
    By SamCV in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-23-2015, 01:08 PM
  5. Import text file into excel and split data in specific sheets
    By chirilaionut in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 06-03-2013, 07:04 AM
  6. Import file - compare two lists
    By theta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-29-2011, 08:54 AM

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