+ Reply to Thread
Results 1 to 23 of 23

Copy Rows

  1. #1
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Post Copy Rows

    Hi Guys,

    I need to copy some rows from a Worksheet to another, based on a cell value.
    Because I use Mac Exce V 16.49, there is not "Filter Function", that could help me todo that.

    Anyone can help me, please?

    Thank you,

    Cross-posted, see post #18 for links
    Last edited by 6StringJazzer; 05-18-2021 at 12:35 PM.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    .
    I am not familiar with the Mac. However, in Windows Excel, this will work :

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    Hi Logit,

    Thank you so much.

    Actually I did improve my question (to better understanding) and I'll send here to you:

    I'm using Microsoft Excel for Mac and I have this issue to solve.

    On the sheet "Data" I have movements and for all records that appears "1" on column "Y" I need to copy information from columns D and E (from that sheet) to another sheet, called "Estatistica".

    I don't know how to upload my file for you. This is my first time on the th forum.

    Please help me on that, too.

    Thank you very much.

  4. #4
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    I wrote another post called "Copying rows from a Worksheet to another - Mac Excel", and there I could upload my file

  5. #5
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    .
    Tested here and confirmed works :

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    Wooooowww !!!!
    U-huu !

    Thanks, man/woman

    You just save my life.

    If you need something I could help you, plese, let me know.

    Thank you very much!!

  7. #7
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    Glad it worked for you.

    Cheers !

  8. #8
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    I beg your pardon, Logit

    I put the information in columns A and B using the Macro you made for me.

    Perfect.

    Doing this, I would like after putting in columns C, D, E, F and etc., data related to those written in A and B.

    The problem is that every time I run the Macro it erases everything in columns C, D, E, F and so on.

    Hence I lose all formulas (Vlookup, for example).

    Can you give me that little help?

    Thanks

  9. #9
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    .
    This line erases everything prior to copy and paste :

    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    OK !
    Thanks

  11. #11
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,718

    Re: Copy Rows

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  12. #12
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    Hi Logit,

    Here I send the "great piece of work" you've been done for me.

    Thank you.

    Now I have this final issue: it is possible to run the macro CopyYes every time the user change cells G5 or H5 at "Estatisticas RH" sheet?

    Thanks, again
    Attached Files Attached Files

  13. #13
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,718

    Re: Copy Rows

    Stumpoc see post #11. No posts are permitted until you resolve this.

  14. #14
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    Hi, I received thus message from "the other" forum.

    It was my mistake, because I did not know that is not allow to have same issue in different forums.

    So I stoped to talk to them and keep conversation here.

    Please, tell me what I have to do to go further here, because I do not understand how to solve that.

    Be wainting.

    Thank you

  15. #15
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    Sorry,

    I found, besides you, just one post at "MrExcel.com" and I already ask them to delete it.

    Need to understand to fix it, here, and go on.

    Please explain me what to do more.

    About my last question posted here on Excel Forum: it is open yet, do I have to write another one, will I receive answers ?

    Thank you

  16. #16
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,718

    Re: Copy Rows

    Quote Originally Posted by Stumpoc View Post
    I did not know that is not allow to have same issue in different forums.
    Please take the time to review our rules. Also read my post again.

    It is allowed to have the same issue in different forums.
    But if you do, you need to provide a link so that we know you have the same issue in different forums. The red link in post #11 explains why.

  17. #17
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    .
    Stumpoc

    In your next post, list all the URL's where you have posted the same question on other forums. Then we can proceed.

  18. #18
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    https://www.mrexcel.com/board/thread...value.1171088/
    https://www.facebook.com/groups/138136370278192 (facebook group)
    https://www.facebook.com/groups/488041698308743 (facebook group)

    I do not remember any other forum where I posted the same question.

    If there is any other I really don't remember, but I believe not.

    Thanks for your help.

  19. #19
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    .
    Paste the following in the Estatisticas RH sheet module :

    Please Login or Register  to view this content.

  20. #20
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    Hi,

    Something is going wrong and I'm not able to solve it.

    1 - First I use "View Code" with right mouse click over my where appears the cells (H5 and G5).
    2 - Then I do "Insert > Module" to create a new modulo
    3 - Finally I write that code you sent me

    Here I send screenshot showing step-by-step.

    Even so, I does not work.

    Am I doing anything wrong?

    Thank you
    Attached Images Attached Images

  21. #21
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    I hope this process is the same in MAC Excel as it is in Windows Excel ...


    Right click the sheet tab for Estatisticas RH

    Select VIEW CODE

    Paste the macro there. You already have a FUNCTION in this sheet module ... so ... after pasting it should look like this :

    Please Login or Register  to view this content.

  22. #22
    Registered User
    Join Date
    05-16-2021
    Location
    Lisbon
    MS-Off Ver
    Office for Mac V.16.49
    Posts
    19

    Re: Copy Rows

    YEAAAHHH!!!

    Yor the best!

    Thank you so much!

  23. #23
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,012

    Re: Copy Rows

    Glad it works for you on the Mac.

    Cheers.

+ 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] Formula to copy and paste multiple rows while skipping blank rows in the table
    By teton88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-07-2018, 02:16 PM
  2. Replies: 3
    Last Post: 05-24-2018, 04:48 AM
  3. [SOLVED] copy rows out of a datasheet based on a code number and past these rows in a new sheet
    By Robert1311 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-11-2018, 11:41 AM
  4. [SOLVED] Insert Rows on Criteria and Copy content to Specific Cells in New Rows(Tables)
    By TheScott in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2015, 03:38 PM
  5. Macro copies rows based on condition, BUT rows copy in Wrong order. PLEASE HELP!
    By JAllard1990 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2014, 04:33 PM
  6. [SOLVED] Identify duplicate rows and copy/Paste the first cell to all cells of equal rows
    By vs5 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-15-2014, 06:31 AM
  7. [SOLVED] Insert Multiple Rows Based Off Number in Cell and Copy Data From Above New Rows
    By tstell1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2012, 04:15 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