+ Reply to Thread
Results 1 to 4 of 4

inserting data in another file

  1. #1
    Registered User
    Join Date
    02-05-2007
    Posts
    5

    inserting data in another file

    I'd like to insert the value of a cell in Excel worksheet A into the cell of another Excel workbook B. The twist is that the source file begins as a templated file and is copied into new jobs each time. The destination file location and name stays the same but the source file changes location. So the destination file can't be looking to be updated. What needs to happen is that once the source Excel file is copied into a new job, whenever the cell is updated, it needs to "export" the new value into the source file. Not the other way around as the destination file will not know the location of this new source file. Sorry for the confusing syntax but hope this is clear enough for an answer. Thanks.

    Johnny

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by johnnytripod
    I'd like to insert the value of a cell in Excel worksheet A into the cell of another Excel workbook B. The twist is that the source file begins as a templated file and is copied into new jobs each time. The destination file location and name stays the same but the source file changes location. So the destination file can't be looking to be updated. What needs to happen is that once the source Excel file is copied into a new job, whenever the cell is updated, it needs to "export" the new value into the source file. Not the other way around as the destination file will not know the location of this new source file. Sorry for the confusing syntax but hope this is clear enough for an answer. Thanks.

    Johnny
    Hi,

    for this you will need either a macro or an event trigger (that is, you will run the update when you need to, or, the update will run automatically, asin when the book closes etc).

    As VB code will be involved you should re-ask your question in the Programming section, and so as to maximise your chances of an answer ask something like:

    How do I automatically, on closing this workbook, update cell D24 into file C:\MyFiles\Excel\FormerFile.xls Sheet1 cell B27


    hth
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Registered User
    Join Date
    02-05-2007
    Posts
    5
    Thanks. I have re-posted the question in the Programming forum.

    Johnny

  4. #4
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by johnnytripod
    Thanks. I have re-posted the question in the Programming forum.

    Johnny
    good to see, let's hope that you get a quick response.

    ---

+ 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