Consulting

Results 1 to 4 of 4

Thread: Copy cells to closed spreadsheet

  1. #1

    Copy cells to closed spreadsheet

    Hi,

    Just wondering if it is possible to append a range from one open workbook to another closed workbook without opening it? Any tips would be much appreciated.

    Thanks,

    Ger

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Could be done with ADO, but longwinded.

    What is the problem with opening?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Not so much a problem with opening it once it wouldn't take too long. How would i got about testings this?

  4. #4
    VBAX Mentor ALe's Avatar
    Joined
    Aug 2005
    Location
    Milan
    Posts
    383
    Location
    I think that when you open a workbook with links to other workbooks, Excel does exactly what you say. He get values without opening any workbook.

    Create a macro that writes the link in a cell in this way:
    "='" & YourFolderPath(with \ at the end) & "[" & NameOfFile.xls & "]" & YourSheetName & "'!" & YourRangeAddress

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •