You might be able to do this using Visual Basic macros. In fact I'm sure you could do this using VB Macros- don't ask me how to do it though I'm a Delphi programmer.