+ Reply to Thread
Results 1 to 3 of 3

Macro to copy data from open workbook to next open line of new workbook

  1. #1
    Registered User
    Join Date
    02-01-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2003
    Posts
    4

    Macro to copy data from open workbook to next open line of new workbook

    Hi;

    I could really use a macro that copies several specific cells (could be number, text, or date) from the workbook that is currently open (I'll need to do this from many workbooks that aren't even created yet) to the next blank line in a different workbook called ABC_summary. e.g. I'd like to copy contents from:
    cell A1 from the open workbook to cell A1 in ABC summary
    cell G3 from the open workbook to cell B1 in ABC summary
    cell H5 from the open workbook to cell C1 in ABC summary
    etc. etc. ...

    then from the next time I open another workbook I'd like to copy:
    cell A1 from the next open workbook to cell A2 in ABC summary
    cell G3 from the next open workbook to cell B2 in ABC summary
    cell H5 from the next open workbook to cell C2 in ABC summary
    and so forth....

    I might be able to figure this out but I guess I'm stuck on identifying the next blank line...

    Can you help me?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro to copy data from open workbook to next open line of new workbook

    Like so:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    02-01-2011
    Location
    New Hampshire
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Macro to copy data from open workbook to next open line of new workbook

    Thanks very much!! It worked perfectly!!

+ 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