Choose Tools, Macro, Microsoft Script Editor from the menu. Or use the keyboard shortcut, Alt+Shift+F11. The Microsoft Script Editor opens up as shown in Figure 24.21, although with a different view from that in typical HTML source viewing.
Figure 24.21. Adding script code to a Web page using the Microsoft Script Editor.