+ Reply to Thread
Results 1 to 6 of 6

Copy information from one spread to another file

  1. #1
    Registered User
    Join Date
    01-28-2007
    Posts
    3

    Copy information from one spread to another file

    Hi,

    How can i copy the information on one spread sheet to another?
    I know this works within the same file but will it work in another file. I do this by =sheet1a1

    For example

    spread1.xls cells A1 to A10 have information in like 1 through to 10.

    Now i want the same information linked to another file spread2.xls in colums B1 to B10.

    hope you understand and can help.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Does this help

    http://office.microsoft.com/en-us/ex...CH010004921033

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    01-28-2007
    Posts
    3
    yes thats great. any idea why i cant copy the formula down to correspond to the sheet1.xls
    it doesnt go on to a2, then a3 etc. it just stays with a1 all the way down.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Did you try the fill handle

    http://www.mvps.org/dmcritchie/excel/fillhand.htm

    What is the formula you have

    VBA Noob

  5. #5
    Registered User
    Join Date
    01-28-2007
    Posts
    3
    yes tried that. That works fine when the sheets are in the same workbook but doesn;t when trying to link the information through worksheets in different files.

    formula is ='[filename1]filename2'!$A$1

    i want it to copy down to

    formula is ='[filename1]filename2'!$A$2
    formula is ='[filename1]filename2'!$A$3
    formula is ='[filename1]filename2'!$A$3

    etc without having to change the cell number in the formula bar each time as i have loads of entries.

  6. #6
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Remove the $ signs

    E.g

    '[filename1]filename2'!A1

    VBA Noob

+ 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