+ Reply to Thread
Results 1 to 1 of 1

Navigating to folder, opening file, and appending data based on different company names

  1. #1
    Registered User
    Join Date
    09-21-2021
    Location
    Los Angeles
    MS-Off Ver
    365
    Posts
    87

    Navigating to folder, opening file, and appending data based on different company names

    Hello All.

    Data is currently imported into file (attached here as test) and on tab cdata

    User will then add the start and end date range on the input tab, as well as the top level directory location that houses all of the customer directories / files.

    I am looking to make it so that the macro will then go to that Directory + "\Company Name", open the file called "Company Name", Add a row on line 2, and then add in the dates from the input tab, and the data from B:F on the cdata tab to row 2, close the file, then move on to the next company.

    What is the best way to go about doing something like this?

    I have attached a sample of the data that would need to be imported to each of the companies files, and then also a sample of one of the companies files as well.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Get Company names based on Product names
    By rajeshn_in in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-27-2018, 12:53 PM
  2. appending a text file from the same folder where excel file is located
    By np1966 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2017, 10:11 PM
  3. [SOLVED] Pull data from one column based on the company names in 2 others
    By excellerant8 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2014, 10:21 AM
  4. Macro to move file to another folder based on the names
    By kriahnadas.oo7 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-17-2013, 09:55 AM
  5. Seach in folder and copy data from file based on sheet names in master workbook
    By Hassø in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2012, 09:25 AM
  6. [SOLVED] Macro to copy file names and data from each file in a folder into master spreadsheet
    By dee1989 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 07-10-2012, 05:52 AM
  7. Appending a colums from 2nd list based on match of company name
    By JamesC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-05-2007, 10:17 AM

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