+ Reply to Thread
Results 1 to 3 of 3

Get Value from Closed Workbook

  1. #1
    Registered User
    Join Date
    11-14-2017
    Location
    Cairo,Egypt
    MS-Off Ver
    2010
    Posts
    75

    Get Value from Closed Workbook

    Dears,

    Please I need your support as I need to extract (copying as well ) some range of data from the closed workbook to another active workbook (open one) without any change in formats neither the source cells nor the cells in destination file.
    For example If I have Two workbooks ;
    Source = Target.xlsm
    Destination = Report.xlsm

    In source file I have range = ("A1:H50000") I need to copy this range (Even if the workbook was closed ) to Destination = Report.xlsm In range ("A1:H50000") without any change in number or text format.

    Many Thanks for your support

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: Get Value from Closed Workbook

    You have to open it up if it isn't already open: this code should go into Report.xlsm, and I have assumed that both files reside in the same folder.

    Please Login or Register  to view this content.
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    11-14-2017
    Location
    Cairo,Egypt
    MS-Off Ver
    2010
    Posts
    75

    Re: Get Value from Closed Workbook

    Many Thanks Bernie Deitrick .....u did it dear really appreciated

+ 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. Export data with two Criteria values from closed workbook to closed workbooks VBA
    By julielara in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2016, 01:56 PM
  2. need vba to copy sheets from closed workbook and paste into all closed wb's
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2016, 01:25 PM
  3. Matching data from closed workbook with open workbook based on cell values
    By kbkrueger in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2015, 07:42 PM
  4. Update Cell Value from a Closed Workbook to Another Closed Workbook
    By glennchung in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-17-2014, 04:44 PM
  5. Replies: 0
    Last Post: 03-27-2014, 12:38 PM
  6. [SOLVED] Copying data from a closed workbook into an open workbook ignoring excel filter?
    By reach78 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-17-2013, 12:31 AM
  7. Copy One Sheet From One Closed Workbook To Another Closed WB
    By teshiburu1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-04-2009, 11:49 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