In the module they come from they are both Public but I was just demonstrating the use of Sub and Function and removed the Public bit to avoid confusion.

Thanks for the compliment anyway!!



------------------
Mark "Buzby" Beeton
VB Developer
[email protected]