Consulting

Results 1 to 3 of 3

Thread: Consolidate Lists

  1. #1
    VBAX Contributor
    Joined
    Mar 2009
    Location
    Indiana
    Posts
    113
    Location

    Exclamation Consolidate Lists

    I have about 25 excel files in a directory on the C drive with a path of C:\lists\. These are software lists that have been created for several machines across a network. I am trying to find a way to consolidate all of these in to one and just add an "Affected" column to list the machine names of those machines that have each software listed. So in column A I have a header "Software Title" and in column F I have a header "Software Version". I would have the same columns on the destination workbook, but adding colum I with a header of "Affected". I would be able to get the name of each computer from each individual excel file in the directory because the sheet name is the name of each computer. Can someone help me write some VBA to help me consolidate this data and make it readable? I would want to delete multiple software names if they match exactly and just have one line with the affected machines. Any help would be greatly appreciated!

    Thanks,
    John

  2. #2
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    Describe the List files better. Are they Excel workbooks? What are their names like. How many sheets in each Workbook? What are the sheet names like?
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  3. #3
    VBAX Contributor
    Joined
    Mar 2009
    Location
    Indiana
    Posts
    113
    Location
    The list files are .xls (Microsoft Excel workbooks). Each list file has one sheet that is named after the machine the data was taken from. For example, if I had a list that was gathered from computer XXXX1234, then the name of the list file would be XXXX1234.xls and the name of the active sheet would be XXXX1234. Does this help?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •