+ Reply to Thread
Results 1 to 5 of 5

Extract Data from newly created Excel files to an update file

  1. #1
    Registered User
    Join Date
    02-24-2024
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 365
    Posts
    11

    Extract Data from newly created Excel files to an update file

    Hi,
    This is a humble request for any/all assistance I can get, with the following task...
    I would like to automate the extraction of data from all new excel files created in a certain directory.
    The data must be copied to an updated excel file to the corresponding columns.

    Details are as follows...

    New "Quote" Files are created in a specific directory. ( C:\TGL Diary\Quotes\ )
    File names have the format "2861 Client Name.xlsx" where the number portion is incremented with each new quote created and also the Client Name changes.
    File to be updated resides in a separate directory. ( C:\TGL Diary\Bookings\Updates.xlsx)
    Specific Data to be extracted from "Quote" Files always located in cells...
    $M$5 - Quote Date:
    $M$6 - Quote No:
    $B$13:$B$20 - Client Details:
    $J$13:$J$20 - Accommodation Details:

    Corresponding columns in Update File to be updated ... Columns B to J

    Any assistance in this regard will be greatly appreciated.

    Kind Regards
    Dean
    Attached Files Attached Files
    Last edited by DEANH123; 03-21-2024 at 12:22 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    12-30-2020
    Location
    Odessa / Ukraine
    MS-Off Ver
    2021
    Posts
    301

    Re: Extract Data from newly created Excel files to an update file

    Hello @DEANH123. Can write macro code for your needs, But. You need to reconsider the source file structure. Namely, these are the merged cells, they are the ones who complicate everything and scare away those who help on this forum. Change the structure of the file and fill it with data, attach it to the post, and then they will definitely help you write the code. Good luck.
    P.S. Sorry for my English.
    NOTE: As the original poster/owner, only you can mark your thread as SOLVED (Thread Tools above Post #1).
    You can say "Thanks" in your thread to everyone who offered to help you.
    You can also reward them by clicking * "Add Reputation" under their username on the left.
    With Regards, MikeVol.

  3. #3
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Extract Data from newly created Excel files to an update file

    Possibly...
    Please Login or Register  to view this content.
    Copy this code into a standard module in the Updates file.
    Last edited by dangelor; 03-22-2024 at 11:23 AM.

  4. #4
    Registered User
    Join Date
    02-24-2024
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Extract Data from newly created Excel files to an update file

    MikeVol- Can write macro code for your needs, But. You need to reconsider the source file structure. Namely, these are the merged cells, they are the ones who complicate everything and scare away those who help on this forum. Change the structure of the file and fill it with data, attach it to the post, and then they will definitely help you write the code. Good luck.
    P.S. Sorry for my English.

    Thanks MikeVol, I dont believe I actually require the cells to be merged... I will restructure and upload the new file/files.

  5. #5
    Registered User
    Join Date
    02-24-2024
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Extract Data from newly created Excel files to an update file

    Thanks Dangelor... I'll try the code provided and provide feedback soonest.
    I really appreciate the willingness to assist.
    Kind Regards
    Dean

+ 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] VBA to password protect a newly created Excel file
    By sherylt13 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-03-2019, 05:27 AM
  2. copying data from excel into a newly created xml file
    By m_Jawed in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2014, 10:08 AM
  3. Extract data from a newly created workbook with a changing name based on a date.
    By Rigoberto in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2013, 10:02 AM
  4. Macro for copying specific data from excel files in a folder to a newly created excel file
    By Raju Radhakrishnan in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-06-2012, 02:24 PM
  5. Update master list with newly created files
    By alaskangrown in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-13-2011, 09:30 AM
  6. Protect a range in a newly created excel file
    By burugudug in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-16-2010, 06:00 PM
  7. [SOLVED] cannot copy newly created files to backup, all existing ok
    By NBaum in forum Excel General
    Replies: 3
    Last Post: 07-25-2006, 02:35 PM

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