+ Reply to Thread
Results 1 to 4 of 4

code to copy paste the rows to a new sheet if matches 2 categories

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    258

    code to copy paste the rows to a new sheet if matches 2 categories

    To start, I am absolutely beginner in programming. I just google codes to help me with what I want to do with my excel.

    I have Master Sheet where all infos will be generated

    The idea is that:
    When "Update Tab" button is clicked, then the infos will copied in a new sheet if it matches the category.

    There are 2 categories to be matched: Document type (I:I) and platform (M:M)
    I created a new list to match these 2 categories (D:D, E:E, F:F)

    I tried to create the code but obviously I do not know hat I am doing Please see my code in excel

    ___________________________________
    Please Login or Register  to view this content.
    ______________________________________

    Here are the category list and Sheet name
    CATEGORY LIST = SHEET NAME
    PM Documentation G2 = Aux_PM_G2
    PM Documentation D3 MKI = Aux_PM_D3 MKI
    PM Documentation D3 MKII = Aux_PM_D3 MKII
    QM&HSE Documentation G2 = Aux_QM_G2
    QM&HSE Documentation D3 MKI = Aux_QM_D3 MKI
    QM&HSE Documentation D3 MKII = Aux_QM_D3 MKII
    QA Documentation Standard G2 = Aux_QA StandardG2
    QA Documentation Standard D3 MKI = Aux_QA StandardD3 MKI
    QA Documentation Standard D3 MKII = Aux_QA StandardD3 MKII
    QA Documentation Advance G2 = Aux_QA AdvanceG2
    QA Documentation Advance D3 MKI = Aux_QA AdvanceD3 MKI
    QA Documentation Advance D3 MKII = Aux_QA AdvanceD3 MKII
    Technical Documentation G2 = Aux_TechG2
    Technical Documentation D3 MKI = Aux_TechD3 MKI
    Technical Documentation D3 MKII = Aux_TechD3 MKII
    Manuals G2 = Aux_ManualG2
    Manuals D3 MKI = Aux_ManualD3 MKI
    Manuals D3 MKII = Aux_ManualD3 MKII
    Attached Files Attached Files
    Last edited by AliGW; 10-19-2018 at 01:44 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: code to copy paste the rows to a new sheet if matches 2 categories

    We'd love to help you, but before we do, please read forum rule #2, which requests that you encolse any code in code tags and tells you how to do this:

    2. Programming code must be enclosed in code tags to improve readability. (A, Z)
    [code ]Please Login or Register to view this content.[/code] (or use the # button)
    Once this is done, we shall be happy to help. Thanks!
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    258

    Re: code to copy paste the rows to a new sheet if matches 2 categories

    Hi,

    Sorry about that... i tried to edit it but I just cant figure out how to do it in code tags

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,015

    Re: code to copy paste the rows to a new sheet if matches 2 categories

    I have done it for you this time, but as the rule says, you just need to edit the post, select the text and click # on the edit toolbar. Next time you will need to do it yourself, please.

+ 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] VBA Copy rows with format to another sheet if cells value matches
    By AndyJr in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-11-2018, 08:09 AM
  2. [SOLVED] Copy Column A data to Sheet 2 where rows matches Sheet 2 headers
    By SCDE in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2015, 12:14 AM
  3. [SOLVED] How to write a code within a loop to copy and paste rows on to another Sheet
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-24-2014, 08:40 PM
  4. [SOLVED] copy and paste values to another sheet if value in one column matches condition
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-05-2013, 11:36 AM
  5. Replies: 1
    Last Post: 09-04-2012, 04:19 PM
  6. Replies: 2
    Last Post: 02-22-2011, 02:07 AM
  7. Copy/Paste Categories with Totals
    By deltf97 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-30-2010, 02:17 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