> How could I do the UDF? I do most of my systems programming in Delphi. In that language, or in C or C++ you would have to call EnumWindows to iterate over the top level windows until you find one with the right class name for R:Base, then call EnumChildWindows to iterate over the children until you found a matching caption, then call the appropriate API function to focus the window.
Alternatively, there's probably an easier way to do this in VB using a script you could LAUNCH, although there might be a delay while the interpreter is loaded. -- Larry
