+ Reply to Thread
Results 1 to 19 of 19

copy-paste-selected-cell-range-another-sheet

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    copy-paste-selected-cell-range-another-sheet

    Hi,
    In sheet1 I have cell range as indicated below which will need to be copied and pasted to sheet2 at different range given below.
    It does not work at all. Every time I click , it only copies last cell in range and pastes it everywhere.
    I have some formule in them. I want only the VALUE to be copied and pasted .

    Any help is appreciated please.
    I am using form control button and assigning this macro to it.
    Regards
    Please Login or Register  to view this content.
    This has been cross referred to http://www.mrexcel.com/forum/excel-questions/698929-copy-paste-selected-cell-range-another-sheet.html

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: copy-paste-selected-cell-range-another-sheet

    Just describe in words what you are trying to do


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi,
    I have sheet1.
    In this I have columns A to N ( Rows A2 to N45) having data in it such as text, date, formula, numbers etc.

    I want to just copy the data ( value only) from Sheet1 A2:I45 , L2:L45 & M2:M45 ( skipping the column J & K)
    And paste it to sheet2 in C14:J56 , L14:L56 & M14:M56.

    In short I want the following:
    Copy from sheet1 Paste to sheet2
    A2:I45 C14:J56

    L2:L45 L14:L56

    M2:M45 M14:M56

    I tried everything. It does not work. If I copy and paste manually it takes few min, but this book is used by many and I want to avoid errors by others in doing so.
    Sorry bit confused. Please help
    Regards

  4. #4
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Sorry Correction
    I want to just copy the data ( value only) from Sheet1 A2:I45 , L2:L45 & M2:M45 ( skipping the column J & K)
    And paste it to sheet2 in C14:K56 , L14:L56 & M14:M56.

    In short I want the following:
    Copy from sheet1 Paste to sheet2
    A2:I45 C14:K56

    L2:L45 L14:L56

    M2:M45 M14:M56

  5. #5
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: copy-paste-selected-cell-range-another-sheet

    Try this...

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi Mate,

    It works great. But the value in column L in sheet1 ( which populates word ' Overdue' by a formula
    Please Login or Register  to view this content.
    ) does not get copied ( value only such as word 'Overdue') to sheet2. Sheet 2 remains blank

  7. #7
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Actually, I have clicked on each of the cell in column L of sheet 2 and it actually has copied the formula instead of a result a word ' Overdue'
    e.g. in L14 in sheet2 is has a formula
    Please Login or Register  to view this content.

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: copy-paste-selected-cell-range-another-sheet

    Try this...

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi ,
    This time it has taken only ROW 2 from sheet1 ( specific cells only A2 , L2 & M2)
    and has copied it to sheet2 ROW 14 ( C14 , L14 , M14)
    Something has gone wrong.

    The previous coding was better. It did every thing except copying column L from sheet1 to sheet2
    regards

  10. #10
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    It means we now need coding to resolve Range Vs Value in column L on both sheets. I think so. I may be wrong pal.

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: copy-paste-selected-cell-range-another-sheet

    Oopss.. little bit confused done the changes

    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi,
    It worked like a magic.
    Well done
    Thanks my Guru
    Regards

  13. #13
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: copy-paste-selected-cell-range-another-sheet

    Glad it helps you and thanks for the feedback

  14. #14
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi,
    Whenever some one helps me, I feel grateful but I feel restricted as I am unable to reciprocate - I am still learning
    Till the time I find out how, when and where do I reciprocate, please accept my heart-filled 'Thanks'
    See you soon mate.

  15. #15
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi,
    Whenever some one helps me, I feel grateful but I feel restricted as I am unable to reciprocate - I am still learning
    Till the time I find out how, when and where do I reciprocate, please accept my heart-filled 'Thanks'
    See you soon mate.

  16. #16
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi,
    Just one more question may I ask.
    I know this is closed as solved.
    If I want to include other sheets , what will I write??
    Current Code
    Please Login or Register  to view this content.
    I also want to include copying From
    Please Login or Register  to view this content.
    I tried to write and I am not going anywhere.
    Any help please
    Regards

  17. #17
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi,
    Are you able to help please?

  18. #18
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: copy-paste-selected-cell-range-another-sheet

    Now added your new condition in the below code and I hope now the code is easier for you to make changes on your own

    Please Login or Register  to view this content.

  19. #19
    Forum Contributor
    Join Date
    02-19-2013
    Location
    UK
    MS-Off Ver
    Excel 2019
    Posts
    677

    Re: copy-paste-selected-cell-range-another-sheet

    Hi,
    Works great.
    Thanks again a millions.
    Regards

+ 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