+ Reply to Thread
Results 1 to 6 of 6

copying data from cells of one workbook into the next available row in other workbook

  1. #1
    Registered User
    Join Date
    03-12-2013
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Red face copying data from cells of one workbook into the next available row in other workbook

    Hi

    I have a workbook called "Quotation". Which has 3 worksheets.

    The sheet I need to take data from is called "Internal Quotes" - Its sheet 1 in this workbook.

    I want to run a command button that when pressed, puts information from specified cells of the "Internal Quote" worksheet into another workbook called "quotes sent".

    For instance, I want to put Cells A1:A15 from the "Quotation" workbook ("Internal quote" sheet), into cell B1:B15 of the "Quotes Sent" workbook (which has only 1 sheet, Called "to date").

    The only other criteria is that it needs to put it into the next clear row below the last entry, as I don't want to overwrite what is already in the "quotes sent" worksheet.

    I hope you can help me with this.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: copying data from cells of one workbook into the next available row in other workbook

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-12-2013
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: copying data from cells of one workbook into the next available row in other workbook

    Hi John just a quick question, do I need to put a path to the files anywhere?

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: copying data from cells of one workbook into the next available row in other workbook

    Not if you have both workbooks open.

  5. #5
    Registered User
    Join Date
    03-12-2013
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: copying data from cells of one workbook into the next available row in other workbook

    What if the Quotes Sent workbook is not open?

  6. #6
    Registered User
    Join Date
    03-12-2013
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: copying data from cells of one workbook into the next available row in other workbook

    Just thought I would share what I did to get this working. It now sends information from multiple cells to another sheet that is closed. It opens that sheet, inputs the information and then closes that sheet. If you are running this locally its super fast.

    The code I used is as follows:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copying data range from a variablew workbook to static workbook
    By singhpab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-11-2013, 09:43 PM
  2. Filtering in another workbook, copying filtered data and pasting in source workbook
    By saadtariq in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-13-2012, 12:55 PM
  3. [SOLVED] Copying data from external workbook into current workbook based on cell value
    By Brontosaurus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-07-2012, 11:17 AM
  4. copying data from source workbook to target workbook by headers
    By tweety127 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-25-2009, 11:35 PM
  5. Replies: 1
    Last Post: 04-01-2006, 03:50 PM

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