+ Reply to Thread
Results 1 to 4 of 4

Copy paste last row to another sheet

  1. #1
    Registered User
    Join Date
    02-24-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2

    Copy paste last row to another sheet

    Im having troubles with writing a VBA code that will copy and paste to the last row on another sheet.I do not have alot of experience with VBA coding. I am wanting to copy and paste specific cells to the other sheet in specific are of the sheet for each items. I would like to have a button that i can use to copy the information.

    Thanks, Nick

    LOG.pngMasterSheet.png

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Copy paste last row to another sheet

    It is difficult to give you a precise code without seeing the workbook itself and knowing exactly what you want to copy and where to.
    Attach a workbook with BEFORE and AFTER sheets to help explain what you want
    (to attach a file click Reply, then Go Advanced, look below for Manage Attachments etc)

    This is an example that may help
    Manually select a few rows on one sheet and this code will take those rows and copy them to the next available row on SheetB using the last value in columnA to determine next row

    Please Login or Register  to view this content.
    And this copies rows 1 to 7 from SheetA to SheetB
    Please Login or Register  to view this content.
    Last edited by kev_; 02-24-2017 at 02:44 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    02-24-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    2
    Quote Originally Posted by kev_ View Post
    It is difficult to give you a precise code without seeing the workbook itself and knowing exactly what you want to copy and where to.
    Attach a workbook with BEFORE and AFTER sheets to help explain what you want
    (to attach a file click Reply, then Go Advanced, look below for Manage Attachments etc)

    This is an example that may help
    Manually select a few rows on one sheet and this code will take those rows and copy them to the next available row on SheetB using the last value in columnA to determine next row

    Please Login or Register  to view this content.
    And this copies rows 1 to 7 from SheetA to SheetB
    Please Login or Register  to view this content.


    I would be glad to send it to you kev.

  4. #4
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Copy paste last row to another sheet

    Welcome to the forum

    No need to quote the previous post - just adds unnecessary clutter. Use quote tags only when you need to clarify what you are replying to.

    Your file is not attached
    If confidentiality is the issue just replace the text (not dates etc) with ZZZZZ

    For copying and pasting all I need to know is
    - what range is being copied
    - where it is being pasted to
    - how both of those ranges are determined (selection or some rule that VBA can apply)
    - what is being pasted: formats, formulas, values etc

+ 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. Replies: 6
    Last Post: 03-26-2014, 11:40 PM
  2. [SOLVED] Copy And Paste on Another Sheet ( next time paste data from empty row )
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2014, 02:29 AM
  3. How to copy data with formula and paste another sheet as paste spl -value only
    By sumesh56 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-14-2013, 09:03 PM
  4. Replies: 1
    Last Post: 01-07-2013, 12:23 AM
  5. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  6. Copy Sheet / Create & Name New Sheet / Insert Before a Sheet / Paste Data
    By thinkspac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2012, 02:27 PM
  7. Replies: 2
    Last Post: 02-22-2011, 02:07 AM
  8. Replies: 1
    Last Post: 01-04-2005, 06:06 PM

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