The function is a separate procedure, and so does not go inside your
Change event. Put it in a standard module. Let me know how you make
out...
--
Garry
Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc