See if either one of these links gets you started...

http://www.excelforum.com/excel-prog...ic-column.html

http://www.excelforum.com/excel-prog...s-are-met.html