Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Help and How-to
Search
Search
 
Check for updates: (c) Microsoft
Microsoft Update
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Copy or move a Web script
 

Security  Security vulnerabilities in external files or controls may extend to Web pages that use those items. For example, external style sheets (files with a .css extension), script files (files with a .js extension), custom ASP.NET controls, or other items, may pose a security risk. Be sure your style sheets, add-ins, themes, executables, scripts, controls, or other files come from trusted sources.

  1. Show script anchors (script anchor: The visual representation of a script on a Web page that you open in a Microsoft Office program. Script anchors are not displayed by default. Different script anchors represent scripts written in different scripting languages.).

    ShowHow?

    1. If you have not already done so, add the Show All Scripts command to the Tools menu.

      ShowHow?

      1. On the Tools menu, click Customize, and then click the Commands tab.
      2. In the Categories box, click Tools.
      3. Drag Show All Scripts from the Commands box over the Tools menu.
      4. When the Tools menu displays the menu commands, point to the Macro submenu.
      5. When the Macro submenu displays the menu commands, point to the location where you want Show All Scripts to appear on the menu, and then release the mouse.
      6. In the Customize dialog box, click Close.
    2. On the Tools menu, in the Macro submenu, click Show All Scripts.
  2. Select the script anchor for the script you want to move or copy.

  3. Do one of the following:
    • If you want to move the script, drag the script anchor to the new location on the page or to a different page.

    • If you want to copy the script, hold down CTRL and then drag the script anchor to the new location on the page or to a different page.

Note  Be careful when moving and copying scripts. Some scripts are dependent on the structure of the Web page and do not run correctly when copied or moved to another location.

advertisement