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

 
 
Help and How-to
Search
Search
 
 
 
 
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.

Copy a macro module to another workbook
 
  1. Set the security level to Medium.

    ShowHow?

    1. On the Tools menu, click Options.
    2. Click the Security tab.
    3. Under Macro Security, click Macro Security.
    4. Click the Security Level tab, and then select the security level you want to use.
  2. Open the workbook that contains the module (module: A collection of declarations, statements, and procedures stored together as one named unit. There are two types of modules: standard modules and class modules.) you want to copy and the workbook you want to copy the module to.
  3. On the Tools menu, point to Macro, and then click Visual Basic Editor.
  4. On the View menu, click Project Explorer Project Explorer button.
  5. Drag the module you want to copy to the destination workbook.
advertisement