Source: http://www.jonathanboutelle.com/how-to-debug-javascript-in-internet-explorer
Microsoft Office 2007:
The Microsoft Script Editor is normally installed by default with Office 2007, but is not reachable directly from the Start -> All Programs -> Microsoft Office menu. Instead, you can usually find it by searching for MSE7.EXE on the local drives. On the machine I am working on now, it is installed in the following location:
C:Program Files (x86)Common Filesmicrosoft sharedOFFICE12