Take a look at this Web site
http://www.vbaexpress.com/kb/getarticle.php?kb_id=242
It should help you.