+ Reply to Thread
Results 1 to 4 of 4

Loading from another excel file

  1. #1
    Registered User
    Join Date
    04-02-2008
    Posts
    12

    Loading from another excel file

    What code can I use, that when I open up a file, information from another excel file is loaded into a certain sheet?

    Been looking for a while now on the forums, couldn't find excally what I need

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    This syntax will get the data from [Workbook2.xls]Sheet2!A1
    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    04-02-2008
    Posts
    12
    Thanks.

    After that I just use a paste code? To the place I want the data to be pasted?

    Edit: Sorry but I dont get the code. What sub can I use, so that when the file is opened, it will do the macros?
    Last edited by KcA; 04-22-2008 at 03:28 AM.

  4. #4
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    Would spreadsheet formulas like
    =[Workbook2.xls]Sheet2!A1 work?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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