Create a Web script on a Web page

  1. If you have not already done so, add the Insert Script command to the Tools menu.

    How?

    1. On the Tools menu, click Customize, and then click the Commands tab.
    2.  In the Categories box, click Tools.
    3. Drag Insert Script from the Commands box over the Tools menu. When the Tools menu displays the menu commands, point to the Macro submenu. When the Macro submenu displays the menu commands, point to the location where you want Insert Script to appear on the menu, and then release the mouse.
    4. In the Categories dialog box, click Close.
  2. Click in your Web page where you want to add a script.
  3. On the Tools menu, point to Macro, and then click Insert Script.
  4. Use the Microsoft Script Editor to write your script.
  5. Return to the Office program.
  6. To update your Web page with the changes, click Refresh  on the Web toolbar.