Hello RudiS, I wanted to ask if you could tell me if this was possible or not as you were so helpful with my last question.
I am using the multi-step code below and am having trouble on the last few steps. Currently, the VBA will classify, highlight according to the classification, and create 2 new sheets based off of a value. Is there a way to copy and paste specific highlighted rows from the main sheet (annovar), to one off the two newly created sheets? The two new sheets are depended on the value in A2 and get text Known or Unknown put after them. Thank you very much.
The code below runs up until the last step, in an attempt to accomplish the copy and paste (transfer classification) step there is a code, but it doesn't seem to work. Since the new sheets are dependent on the value in A2 I am not sure how to code that. I need some expert help. Thanks .
Copy and paste from annovar to TestName Known:
Dark Red ‘9
Magenta ‘7
Blue ‘5
Cyan ‘8
Copy and paste to TestName Unknown:
Yellow ‘6
Pink ‘22
Purple ‘21
Above is the general and a specific example would be:
In the attached workbook row 4 in annovar is dark red, so the entire row would be copied to TestName Known.
In the attached workbook row 5 in annovar is yellow, so the entire row would be copied to TestName Unknown.
Bookmarks