A comment on Hobo's reply.
If you are able to, it is usually better taking advantage of VB's debugging features (breakpoints, step-by-step tracing etc).
Sometimes however you are not allowed to do that. At that point Hob's solution is a quite good one.
BIW




Reply With Quote