I was trying to run down an old post where I remembered posting code to answer a question that was asked so I searched for the site on google:
http://www.google.com/search?hl=en&q=site%3Adaniweb.com+knake+excel&aq=f&oq=&aqi=
I think the third thread was this:
http://www.daniweb.com/forums/thread196171.html
Notice my post with code. Click toggle plain view and you will see the HTML markup in the code snippet.