+ Reply to Thread
Results 1 to 3 of 3

Transfer data from another excel file without open it

  1. #1
    Registered User
    Join Date
    02-19-2018
    Location
    Czech Republic
    MS-Off Ver
    Excel 2016
    Posts
    61

    Transfer data from another excel file without open it

    Hi!

    I have a code that transfers data from the excel file Register Data 2022.xlsm to Excel file KPI 2022.xlsm. The macro is executed from the Excel file KPI 2022.xlsm but as it is now, it needs to have the file "Register Data 2022.xlsm" opened.

    Is there somebody that can edit my existing code without the need to open the file Register Data 2022.xlsm Excel file? You must know that this file is always 24-7 opened in another pc in the production line. As it works now, I always open it in read mode and then I transfer the data to my KPI 2022.xlsm excel file.

    The Register Data 2022.xlsm file is in F:\productionlines\T1\Data

    Please Login or Register  to view this content.
    In case you need more info, I will be glad to share it with you. Thanks!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Transfer data from another excel file without open it

    Why do you have a reluctance to open the file?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    02-19-2018
    Location
    Czech Republic
    MS-Off Ver
    Excel 2016
    Posts
    61
    Quote Originally Posted by Richard Buttrey View Post
    Why do you have a reluctance to open the file?
    If I have to keep doing it I will just do it, it is not a big problem :D

    But of course, I just was wondering if there is a faster way to transfer the data by eluding to open the file that has the data...

+ 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] Msgbox to open a file and transfer data to another workbook
    By MannStewart in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2022, 09:24 PM
  2. Open Fresh Excel File through PowerPoint VBA and transfer the input in Excel file
    By brajpalshishodia in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-30-2018, 02:41 AM
  3. VBA code to transfer the excel file into another open workbook
    By blackorchids2002 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2015, 01:31 PM
  4. Replies: 6
    Last Post: 07-16-2012, 02:12 PM
  5. Macro to Open a file, transfer data, save and close
    By tforbes75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-01-2011, 11:59 AM
  6. Efficient Data Transfer Between Two Open Sessons of Excel
    By SDruley in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-06-2011, 03:25 PM
  7. [SOLVED] Use ADO to transfer data from open excel file to closed excel file
    By JCanyoneer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2005, 03:06 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