+ Reply to Thread
Results 1 to 4 of 4

Copy & paste then delete and then paste on last row of different sheet

  1. #1
    Forum Contributor
    Join Date
    08-04-2018
    Location
    San Dieg CA
    MS-Off Ver
    Microsoft Office Professional Plus 2016 (Excel 2016 MSO 32 bit)
    Posts
    167

    Copy & paste then delete and then paste on last row of different sheet

    Hello All!

    If anyone can help with the below code, I’d really appreciate it. What the code does is prompts the user via an inputbox to select and copy a range of cells on Sheet1, then when the user clicks OK it pastes the selected range to the last row on Sheet2. I’d like to add an additional step in the process. Once the user clicks OK, the selected range on Sheet1 is deleted and then the user is taken to Sheet2 where the selected range is pasted on the last row. Below is the code, and workbook is attached. Thank you very much for the support!

    v/
    roro

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: Copy & paste then delete and then paste on last row of different sheet

    Maybe you can try to add these lines:
    Please Login or Register  to view this content.
    After this line
    Please Login or Register  to view this content.
    \

    Not tested.

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,522

    Re: Copy & paste then delete and then paste on last row of different sheet

    This would be my preference.
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    08-04-2018
    Location
    San Dieg CA
    MS-Off Ver
    Microsoft Office Professional Plus 2016 (Excel 2016 MSO 32 bit)
    Posts
    167

    Re: Copy & paste then delete and then paste on last row of different sheet

    To All,

    Both code work very well and I'm grateful for the speedy response. Thank you again for the support!

    v/
    roro

+ 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. How to select and delete data except last row then copy/paste to different sheet VBA
    By PingTing in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-05-2019, 10:24 AM
  2. Copy, Paste Delete from one sheet to another
    By wlbamc in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-25-2016, 04:05 AM
  3. Autofilter, copy from sheet 1 and paste to sheet2, delete previous info on sheet 2
    By leigh12483 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-30-2015, 08:21 PM
  4. Copy and Paste row from one sheet to another and then delete row
    By Peter Hand in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-18-2014, 09:11 AM
  5. Filter only records containing 'x', copy, paste in new sheet, and then delete. Please help
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2013, 05:27 AM
  6. Filter-Copy Paste-Save sheet-Delete info
    By srikanthbenoni in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-28-2012, 06:08 AM
  7. Replies: 1
    Last Post: 01-04-2005, 06:06 PM

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