+ Reply to Thread
Results 1 to 3 of 3

VBA Code Help with Range Filtering

  1. #1
    Registered User
    Join Date
    05-25-2012
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    4

    VBA Code Help with Range Filtering

    Hello

    I have a large database of traffic signs which have different sheeting type, background colors and other attributes. I want to filter this database by type and produce new worksheets for each type. With in the work I want different ranges depending on the background color of the sign. I have attach a sample worksheet.

    Any help you gave provide is welcomed!HELP Signs.xlsm
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: VBA Code Help with Range Filtering

    I am returning the file wesbb help.xlsm
    the sheets other than "data" are AFTER RUNNING THE MACRO TEST

    for retesting again run "test"

    the macros and one function are parked in the module
    if the data is large you may not know how many sheets to open and it will be difficult to add sheet names Even if NO extra sheets
    were opened the macro will automatically insert necessary worksheets, give then names of the type and fill them up with data.
    save this as another file (including macros) and delete the files other than "data" and test the macro "test"

    the macros are given here for those who do not want to open the file


    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    I am not an expert. better solutions may be available
    [email protected]

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: VBA Code Help with Range Filtering

    Hi Wes88,

    I'd leave all your data on a single sheet and learn about filtering or auto filters.

    http://www.contextures.com/xlautofilter01.html
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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