+ Reply to Thread
Results 1 to 2 of 2

classify and sort

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2016
    Posts
    543

    classify and sort

    I am trying to create a multi-step VBA and am close, but need some expert help on the last steps. In the attached spreadsheet three 3 happen:
    1. When it is opened it asks for new data
    2. When the classify macro is run the sheet is reformatted
    3. When the dropdown in A2 is changed it triggers another macro (calculations)

    That all seems to work, what I am having trouble with is putting values in the classification column, highlighting them appropriately, sorting them based on column, and saving that new spreadsheet in a directory. I know that is a lot, but it would help out and save a lot of time for users. Below is a code that works up until the Clinvar step in calculations (that is where the issues above happen). I thought I did it right, but it doesn’t seem to be working. Thanks .

    I have attached two spreadsheets
    TestBook has the highlighting and classification columns correct and just needs to be sorted
    1. Pathogenic on top, followed by likely pathogenic, then Variant of Unknown Significance, then ????, then likely benign, and benign
    Example has the macros in it.

    I hope this makes sense and can be done.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2016
    Posts
    543

    Re: classify and sort

    trying to delete as this is a duplicate post and the other post is the correct one. Thank you and sorry.

+ 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. VBA to classify and color
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2014, 02:54 PM
  2. Classify with VBA
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-19-2014, 02:22 PM
  3. [SOLVED] Count IF To sort/classify
    By Lyaliuae in forum Excel General
    Replies: 6
    Last Post: 01-20-2014, 06:29 AM
  4. How to classify a list
    By reganbaha in forum Excel General
    Replies: 2
    Last Post: 06-21-2011, 05:25 PM
  5. Classify by textcolour?
    By Bandini in forum Excel General
    Replies: 2
    Last Post: 03-05-2010, 10:05 AM

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