+ Reply to Thread
Results 1 to 2 of 2

Export from active worksheet to closed workbook

  1. #1
    Registered User
    Join Date
    07-22-2009
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    1

    Export from active worksheet to closed workbook

    Is there a way to export a range of data of my current worksheet to the next blank row on a closed workbook? I have a template excel file used to place orders and I want to copy the order information (ex B3:F3) to the next available row in a workbook that has all of the orders.

    Thanks

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Export from active worksheet to closed workbook

    Under certain circumstances, yes. You can use ADO to export data from the activeworkbook to a sheet in a closed workbook as long as that destination workbook has headers, and as long as you include a header row in the source that you export from. For example:
    Please Login or Register  to view this content.
    Note that there is a memory leak issue with using ADO on an open workbook, but as long as you only run one or two exports at a time (and then close Excel) it shouldn't be a problem.
    Remember what the dormouse said
    Feed your head

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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