+ Reply to Thread
Results 1 to 3 of 3

Copy and paste to destination range of cells only if empty

  1. #1
    Registered User
    Join Date
    03-28-2020
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2013
    Posts
    5

    Copy and paste to destination range of cells only if empty

    I am looking for some VBA code that will allow me to copy the cell contents from say cells A1:A30 to only empty cells in C1:H30.

    So cell value in A1 will be copied to columns C1:H1 only if empty. The same for A2 to C2:H2, etc.....

    Range is not specific (example only but same worksheet). I just don't want to paste over any existing data in destination cells.


    Thanks for any suggestions.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Copy and paste to destination range of cells only if empty

    Hi RonnG,

    Maybe this:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    03-28-2020
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Copy and paste to destination range of cells only if empty

    Thanks Robert I think I can work with this....
    Last edited by RonnG; 10-11-2020 at 12:15 PM.

+ 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. [SOLVED] Copy and Paste only filled cells from a dynamic range to another sheet in empty cells
    By seanpcorbett1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2016, 03:23 PM
  2. Destination cell is empty after copy and paste
    By wingnut74 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2014, 05:56 PM
  3. [SOLVED] Copy/paste range of cells to first empty row of active list in another worksheet
    By wildecat666 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-06-2013, 03:45 PM
  4. how to copy a range of cells, paste them and then find next empty cell
    By comp23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2013, 03:34 PM
  5. [SOLVED] Transfer cells range to another sheet if first cell of destination range is empty
    By kopapa in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-04-2013, 04:32 PM
  6. [SOLVED] Copy and Paste Cells to Next empty cell in range
    By oddinho2 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-20-2013, 12:51 PM
  7. Replies: 1
    Last Post: 04-22-2013, 10:34 AM

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