Warum so kompliziert ?
Excel kann das alles OHNE eine Zeile Programmierung (Makro):
http://www.rlpforen.de/showthread.ph...ht=excel+query