+ Reply to Thread
Results 1 to 7 of 7

copy/paste macro to selected blank cells

  1. #1
    Registered User
    Join Date
    05-31-2012
    Location
    Schenctady, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Post copy/paste macro to selected blank cells

    Im trying to record a macro to Copy the values in 11 specific adjacent cells in a column on one worksheet and Paste them into the first 11 blank cells in Column A of another worksheet in the same workbook. I want to be able to run this macro repeatedly as blank cells on the second worksheet are filled.

    Currently, my macro selects and Copys the cells on the first worksheet and uses the FIND function to locate the first blank cell in Column A of the second worksheet. But at this point I have to intervene and click on the blank cell that has been found on the second worksheet before I can Paste. How can I make this macro complete the Paste without the need to have me intervene? I'm using Excel 2003. Thanks.

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: copy/paste macro to selected blank cells

    Hi
    this will return the first blank cell in the first column in Sheet1

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-31-2012
    Location
    Schenctady, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: copy/paste macro to selected blank cells

    Thanks NickyC

    How do I designate the blank cell that has been returned as the active cell?

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: copy/paste macro to selected blank cells

    Hi fumc,

    The 11 cells you are copying from one sheet to the next, where are those cells?

    Are they always the same 11 cells or do you select them first and what you select you want copied to the new sheet?
    HTH
    Regards, Jeff

  5. #5
    Registered User
    Join Date
    05-31-2012
    Location
    Schenctady, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: copy/paste macro to selected blank cells

    jeffrey,

    The 11 cells I am copying are always the same cells. Only the destination changes.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: copy/paste macro to selected blank cells

    See if this sample helps...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-31-2012
    Location
    Schenctady, NY
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: copy/paste macro to selected blank cells

    Jeff,

    Your sample worked great. Thanks so much. This thread is solved.

    fumc

+ 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