+ Reply to Thread
Results 1 to 2 of 2

Pulling values from another workbook without opening

  1. #1
    Registered User
    Join Date
    06-17-2014
    Location
    canada
    MS-Off Ver
    2013
    Posts
    24

    Pulling values from another workbook without opening

    I need to search a closed workbook for a number and copy the adjacent value to be used in VBA. I have spent quite a few hours googling trying to find a solution but have not been successful. I have read some stuff on ExecuteExcel4Macro but am not sure how to use it properly.

    source to pull from - Z:\Test\Source.xlsm sheet1 A1
    i need to be able to use the value I find in VBA

    Does anyone know where to start with this?

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Pulling values from another workbook without opening

    Please, upload sample file that accurately reflect your set up along with what info needs to be pulled.

    This could be done by using ADO through VBA, among other methods.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

+ 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] Opening new workbook and pasting values into current workbook - code issues
    By Stew1234 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-15-2014, 07:56 AM
  2. Pivot Table - Opening Selected values in new workbook
    By scolsen in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-27-2014, 12:40 PM
  3. vloop up values from different workbook without opening.
    By 376795 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-20-2011, 10:39 PM
  4. How to save user form checkbox values when opening and closing workbook
    By skfinance in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-13-2011, 06:28 PM
  5. Refreshing Daily Stock Values Upon Opening Workbook
    By wmfinance in forum Excel General
    Replies: 1
    Last Post: 01-13-2011, 11:16 AM
  6. Pulling Data without opening a S/S?
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-02-2010, 09:34 AM
  7. Pulling in data without opening other workbook
    By Topdrop18 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2010, 09:39 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