These Excel tools have been superceded by the javascript based tools in the
Y-DNA Comparison Utility

 

 

Excel Macros for DNA Tables

Turn your Excel DNA Spreadsheets from this:

to this

to HTML tables like this

Kit Name 3 3 1 3 3 3 4 3 4 3 3 3 4 4 4 4 4 4 4 4 4 4 4 4 4
    9 9 9 9 8 8 2 8 3 8 9 8 5 5 5 5 5 4 3 4 4 6 6 6 6
    3 0   1 5 5 6 8 9 9 2 9 8 9 9 5 4 7 7 8 9 4 4 4 4
            a b       .   .   a b             a b c d
                      1   2                          
Kit1 Name1 13 25 14 11 11 13 12 12 12 14 14 29 17 9 15 11 11 25 15 18 30 15 16 17 17
Kit2 Name2 13 25 14 11 11 13 12 12 12 13 14 29 17 9 14 11 11 25 15 18 30 15 15 17 17
Kit3 Name3 12 25 14 11 11 13 12 12 12 13 14 26 17 9 14 11 11 25 15 18 30 15 15 17 17
Kit4 Name4 13 25 14 11 11 13 13 12 12 13 14 29 17 9 15 11 11 25 15 18 30 15 16 17 18
Kit5 Name5 13 27 14 11 12 13 12 12 12 15 14 29 17 9 15 11 11 25 15 18 30 15 16 17 19
Kit6 Name6 13 25 14 11 11 13 12 12 12 13 14 29 17 9 16 11 11 25 15 18 30 15 14 17 17
Kit7 Name7 13 25 14 11 11 13 12 12 12 13 14 30 17 9 16 11 11 25 15 18 30 15 16 16 17

with just a few mouse clicks.

Excel Macros

Download Excel Macros

You are welcome to download the free file DNAMacros.zip and use the contents as you see fit.

Normally, I do not like to execute Microsoft Office files with macros because of the potential for viruses. I have included the source files in the zip file so you can import them into your own Excel worksheets or review before enabling macros.

There are two files that contain code for the macros,
1) DNA_Macros.bas, you can view this as a text file: DNA_Macros.txt, and
2) frmDNA_Row.frm, you can view this as a text file: frmDNA_Row.txt.

The computers that I use all have Microsoft Visual Basic installed and I do not know if there will be a problem running these macros on systems without it, but I believe that it should work fine on most systems. The macros work on my computers with Microsoft Office XP running on XP and Office 2000 running on Windows 98.

If you add the macros yourself, you may need to include the Microsoft Forms 2.0 Object Library which is automatically added when you include a button or form.

Step by Step Instructions

The page Excel Macros for DNA Tables - Instructions gives step by step instructions with screen images for creating the tables.

[Home]

Dean McGee

Page last updated on January 31, 2004