I am trying to create a VBA that will do the below 5 steps, but I am not sure how or if it is possible.
1. Copy the column headers from Sheet 1 to Sheet 2
2. Only show if column E = benign, likely benign, VUS, VUS confirmation, pathogenic, likely pathogenic (the rows in E may be variable, but E will always contain the values listed)
3. In column G of sheet 2 combine refseq# and Sanger up until ; (semi-colon)
4. If there is a / in column B (Sanger), then whatever letter is opposite text in front of the > symbol is used
c.828-17G>A
c.159C>G
c.2339A>C
5. column G is saved to a text file called Sanger
I have attached a workbook where sheet 1 is the input and sheet 2 is the output, before column G is saved in a text file.
Thank you.
Bookmarks