MSTEF, thanks...
...but I need a generic function I can call from a standard module, so I don't clutter up the form module with masses of code. I know how to do what I want at form level, but, as a VBA beginner,I'm unsure of the syntax for referring to a control in a module.But thanks, anyway.