+ Reply to Thread
Results 1 to 3 of 3

looking for an empty row to paste a range of copied cells

  1. #1
    Registered User
    Join Date
    12-31-2008
    Location
    Chester, CA
    MS-Off Ver
    Excel 2007
    Posts
    20

    looking for an empty row to paste a range of copied cells

    Hi - I am trying to make a code that will copy a range ("A27:L27") on sheet 1 and then look for the next empty row on sheet 2 and paste it in that row. I would also like the macro to insert a new blank row (or insert the copied row) for the purpose of shifting existing SUM functions on sheet 2 down. I would like those functions to be right below the copied/pasted cells every time the macro is executed.
    Last edited by jayers; 02-11-2009 at 09:22 PM.

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: looking for an empty row to paste a range of copied cells

    Hi - I am trying to make a code that will copy a range ("A27:L27") on sheet 1 and then look for the next empty row on sheet 2 and paste it in that row. I would also like the macro to insert a new blank row (or insert the copied row) for the purpose of shifting existing SUM functions on sheet 2 down. I would like those functions to be right below the copied/pasted cells every time the macro is executed.
    Need to supply a little more information, and a sample workbook never hurt...
    Post A27:L27 from sheet 1 to where? and when would you want to do this? Is this going to sheet 2, and if so, is that why the reference to the "next empty row on sheet 2" ?

    And the last part of your statement you really confused me with... You want to insert a new blank row, to shift down the existing rows... so that those functions are right below the copied/pasted cells? Wouldn't that imply that there's no empty row inbetween them?
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Registered User
    Join Date
    12-31-2008
    Location
    Chester, CA
    MS-Off Ver
    Excel 2007
    Posts
    20

    Re: looking for an empty row to paste a range of copied cells

    Quote Originally Posted by mewingkitty View Post
    Need to supply a little more information, and a sample workbook never hurt...
    Post A27:L27 from sheet 1 to where? and when would you want to do this? Is this going to sheet 2, and if so, is that why the reference to the "next empty row on sheet 2" ?

    And the last part of your statement you really confused me with... You want to insert a new blank row, to shift down the existing rows... so that those functions are right below the copied/pasted cells? Wouldn't that imply that there's no empty row inbetween them?

    I think I got it with this:
    Please Login or Register  to view this content.
    I would still appreciate your thoughts - Jim A

+ 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