I have a Perl script which is creating/editing both a Word document and an Excel spreadsheet. When I am done with this I want to be sure that the Excel spreadsheet is in front -- i.e. the "active window". I had hoped that the order in which they are made visible and/or maximized would do it but which one appears in front appears to be random. I have been unable to find anything that looks like the function I want in Win32::OLE but I am assuming there is an object there someplace. I can inquire about ActiveWindow but I can't find info on how to set the ActiveWindow. Can someone point me to the thingy I need?