+ Reply to Thread
Results 1 to 14 of 14

Copy and Paste to and from specific cells on a different worksheet

  1. #1
    Registered User
    Join Date
    04-06-2018
    Location
    Kenilworth, England
    MS-Off Ver
    Office 2013
    Posts
    16

    Copy and Paste to and from specific cells on a different worksheet

    Hi,

    I feel like this should be more simple than it's proving to be but I can't find any tutorials or information on how to do specifically what I am asking for.

    I'm finding it hard to get my head around VBA so any help would be very gratefully recieved.

    I am looking to create a button which copies and pastes data from and to specific cells. Ideally, I would like data to move from one worksheet to another but have found a way around that by replicating one cell on a different worksheet. The complication seems to come from me wanting the 'Copy Button' to be on the pasting worksheet.

    The ideal solution would be to have a button on sheet 2 which copies data from multiple specific cells on sheet 1 to specific cells on sheet 2.

    If that is difficult then I would also be happy with a button on sheet 2 which copies data from multiple specific cells on sheet 1 to elsewhere on sheet 1.

    Many thanks

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Copy and Paste to and from specific cells on a different worksheet

    What specific cells do you want to copy on Sheet1 and to which specific cells do you want to paste on Sheet2?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    04-06-2018
    Location
    Kenilworth, England
    MS-Off Ver
    Office 2013
    Posts
    16
    Quote Originally Posted by Mumps1 View Post
    What specific cells do you want to copy on Sheet1 and to which specific cells do you want to paste on Sheet2?
    It will change because I want to have a number of buttons doing pretty much the same thing.

    It could be a range, say sheet 1 B4:D44 copied to sheet 2 G4:I44 but with the button on sheet 2 with the resulting data.

    Would that be possible?

    Thanks

  4. #4
    Registered User
    Join Date
    04-06-2018
    Location
    Kenilworth, England
    MS-Off Ver
    Office 2013
    Posts
    16

    Re: Copy and Paste to and from specific cells on a different worksheet

    I've created a mock up of what I'm looking for. (I hope it's attached)

    I would have sent the original document but there are a lot of different things going on and it'll only be more confusing.

    If you open the document you will see that I want to create a series of buttons which will copy the continuous data into the relevant cells when pressed. On sheet 1 the data will continue to change but periodically I would like to press the button and copy the data into the cells below.

    For example.
    Autumn 1 button would copy and paste cells B3:D9 from sheet 1 to cells B5:D11 in sheet 2.
    Spring 1 button would copy and paste cells B3:D9 from sheet 1 to cells E5:G11 in sheet 2.

    The number of cells in the finished document are likely to be considerably more rows and columns but as long as it's possible, I think my limited skill could handle that.

    Alternatively, the button could be in sheet 2 and the data could be copied to elsewhere in sheet 1 and I could duplicate the data into sheet 2. If this is also possible, could this option be offered too as I don't know which will work best in the whole project.

    I have tried to record a macro and use the commands for the button but this didn't work. This is about the limit of my ability.

    Thank you in advance.
    Attached Files Attached Files

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Copy and Paste to and from specific cells on a different worksheet

    Try:
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-06-2018
    Location
    Kenilworth, England
    MS-Off Ver
    Office 2013
    Posts
    16

    Re: Copy and Paste to and from specific cells on a different worksheet

    That's worked perfectly.

    Thank you

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Copy and Paste to and from specific cells on a different worksheet

    You are very welcome.

  8. #8
    Registered User
    Join Date
    04-06-2018
    Location
    Kenilworth, England
    MS-Off Ver
    Office 2013
    Posts
    16

    Re: Copy and Paste to and from specific cells on a different worksheet

    Hi,

    This worked perfectly in my trial spreadsheet but I didn't take into account the fact that the cells that were copied contained a value as a result of a formula. When I pasted the information it pasted the formula and not the value in the cell. Therefore, the value in the cell was different. Is it possible to adapt it so that it only pastes the value and not the formula?

    Thanks

  9. #9
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Copy and Paste to and from specific cells on a different worksheet

    Try:
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    04-06-2018
    Location
    Kenilworth, England
    MS-Off Ver
    Office 2013
    Posts
    16

    Re: Copy and Paste to and from specific cells on a different worksheet

    This seems to have solved the problem. Thank you again.

  11. #11
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Copy and Paste to and from specific cells on a different worksheet

    My pleasure.

  12. #12
    Registered User
    Join Date
    05-17-2018
    Location
    China
    MS-Off Ver
    2016
    Posts
    2

    Re: Copy and Paste to and from specific cells on a different worksheet

    HI everyone,

    I have a similar problem but a little bit more complex.

    Depending on the content of column P in sheet RFQ List I want to have the complete line removed to another sheet.
    If the content in any cell in column P says lost, rejected, closed or nominatedthe complete line should be moved to a different sheet History RFQ. Column P can also have other content which will lead to the lines staying in RFQ List.
    The order in the sheet History RFQ is not critical. It could be same as in RFQ List.

    Once it is moved to History RFQ it should be deleted from RFQ List.

    I cannot attach the excel so I am attaching a screenshot of the file for your reference.

    I appreciate any support you can provide

    Thank you,
    Judy
    Excel Macro.PNG

  13. #13
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,815

    Re: Copy and Paste to and from specific cells on a different worksheet

    Hello Judy_CHN and welcome to the Forum. Forum rules state that you should not post a question in another person's thread. Please start your own new thread. If you send me a private message with a link to your new thread, I will be happy to have a look at it.

  14. #14
    Registered User
    Join Date
    05-17-2018
    Location
    China
    MS-Off Ver
    2016
    Posts
    2

    Re: Copy and Paste to and from specific cells on a different worksheet

    Noted. I am sorry.

+ 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] Macro to ask user which row to copy and paste cells to specific cells in another sheet
    By majana54 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-03-2017, 08:42 AM
  2. Copy and paste specific cells depending on adjacent cells HELP NEEDED
    By clacheson1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2017, 04:06 PM
  3. Search For Value Specific Value in Cell, Then copy and paste row to diffrent worksheet
    By Chrisnicholls1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-06-2016, 07:50 AM
  4. [SOLVED] VBA to copy paste to specific worksheet from another workbook of same worksheet name
    By saleembasha in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-21-2015, 10:37 AM
  5. Copy a row from master sheet and paste it to a specific worksheet based on tab name
    By obrie499 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2013, 10:45 AM
  6. Search for specific date range, copy entire row and paste to new worksheet
    By turias in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-04-2013, 03:57 PM
  7. Copy several columns and paste into specific column on another worksheet
    By lcy_84 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-31-2012, 09:19 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