FYI, in order to use Mark's code, you will need to set a reference to the "Microsoft ActiveX Data Objects Library (pick the most recent you have access to.)

HTH,