Hallo,
willst Du das in Excel machen (also VBA) oder direkt in Visual Basic ?

Grüße
David