See http://www.vbaexpress.com/forum/showthread.php?t=931 for a solution.