Office 2007 does something weird to its window titles. What you see in the window title is not the real internal window title. It’s back to front. E.g. Excel says something like “filename.xls – Microsoft Excel” when in fact the correct title is “Microsoft Excel – filename.xls” just as it always has been. If you look at the task bar icon you’ll see it the right way around. That is what you need to use in your SetFocus/WaitWindowOpen commands etc.