+ Reply to Thread
Results 1 to 14 of 14

Copy Rows to New Sheet Based Off Of Checkbox Criteria

  1. #1
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Copy Rows to New Sheet Based Off Of Checkbox Criteria

    Think I'm way in over my head. Not even sure where to begin. Have a master list of all of our clients and their contact information. About 4500 entries and constantly changing/adding. I want to be able to create a new list on a new sheet based off of 2 areas of criteria selected by our users from a check box menu. Been trying to piece meal something together from my very limited knowledge of VBA but nothing is working.

    'Master' List Sheet = Source
    '02 Selection' New List Sheet = Target
    '01 Criteria' Selection Sheet = Condition

    Source information can be found between "BorderFirstRow" and "BorderLastRow" on the Master since the list length shortens and lengthens continuously.
    Please Login or Register  to view this content.
    The First Criteria list, which has Check Boxes and returns TRUE or FALSE in cells 'Condition'!I3:I21 while looking in Columns/Table of 'Source'!W:AS for a 'Y'
    The Second Criteria list, which has Check Boxes and returns TRUE or FALSE in cells 'Condition'!I29:I264 while looking in Columns of 'Source'!B for a match to 'Condition'!C29:C264.

    The end user makes their Group Selection and Scope of Work Selection based on project criteria. I would like to have a macro that then finds which Contacts in the Master sheet match the criteria and then copy the entire row over to the '02 Selection' sheet.

    The numbers in Column B of the Master sheet for the CSI code are formated as text to show the 0 in front of them and keep the formatting consistent.

    Copy of the sample file can be found at: send(dot)tresorit(dot)com/a#l0yM5hJ1NLJtS8cuWyB3Xw

    Thank you for your help!
    Attached Files Attached Files
    Last edited by Neuner; 12-21-2018 at 05:40 PM. Reason: Added Attachment

  2. #2
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    How many posts are required before you can provide a link?

  3. #3
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    I tried adding an attachment but even with most of the information removed, it's still much larger than the allowable size.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    Hi,

    We don't need to see illions of rows if that's the cause of the large file. Just delete the bulk of them and leave just sufficient to show your problem.

    If that doesn't work then save the file as a .xlsb file and try uploading again.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    I had removed most. maybe just 25 lines now. Not sure what is causing the bulk. Have some of the sorting macros included which I can delete and see if that is the cause.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    Will you please attach a sample Excel workbook? Try copying the data to a new workbook.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Note: As a new member, you are not yet allowed to post links. That privilege will come once you have made at least ten posts.
    Last edited by AliGW; 12-21-2018 at 12:55 PM.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    Did as you stated and it still comes out to 2900kbs. Can't get it below the 1000kb threshold and still be viable as an example.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    How many lines of data did you copy? We only need a few.

  9. #9
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    link to file: removed by moderator

    Please see attachment to post below.
    Last edited by AliGW; 12-21-2018 at 06:16 PM.

  10. #10
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    Please don't ask us to jump through hoops and expect us to go to file hosting sites of unknown provenance.

    Do as I suggested. Save it as a .xlsb file. The forum accepts these up to 9.4 Mb

  11. #11
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    Sorry, just doing as the moderator suggested. Thought everyone was familiar with the popular Tresorit site. In conjunction with Tutanota for encrypted email and file sharing services.
    Attached Files Attached Files

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,483

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    I suggested this in a private message only because you were claiming not to be able to make your file small enough to post. As you have now managed this, I shall remove the pseudo-link to the file-sharing site.

  13. #13
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    Anyone had a chance to review? Seeing if my question or direction makes sense. Does it seem possible with Excel and Macros or should another program/database type be used?

  14. #14
    Registered User
    Join Date
    07-18-2018
    Location
    San Antonio, TX
    MS-Off Ver
    2016, 32-bit Version
    Posts
    13

    Re: Copy Rows to New Sheet Based Off Of Checkbox Criteria

    So it appears that no one knows how this could work and it's not possible?

+ 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. Automatically copy rows to another sheet based on criteria, when original sheet is updated
    By NoviceProgrammer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2016, 02:14 AM
  2. Copy and Paste Rows based on Criteria onto another sheet and sort based on oldest item
    By Kushal8684 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2013, 05:37 AM
  3. Copy rows to a given sheet based on several criteria
    By bfora in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-02-2013, 11:12 AM
  4. Replies: 4
    Last Post: 07-24-2012, 07:09 AM
  5. Copy rows to a sheet based on criteria
    By Belo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2010, 06:03 PM
  6. Copy Rows from Sheet 1 based on Criteria
    By ppeter01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-02-2008, 05:18 PM
  7. Copy Rows To New Sheet Based On Colum Criteria
    By stusic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2008, 04:43 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