• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28. Recording and Running Visual... > Moving Project Items Among Templates...

Moving Project Items Among Templates and Documents

VBA macros are stored in projects. A project is a collection of modules, and in Word, each document or template contains a single project. Within each project, macros are stored in modules. A module is a collection of VBA code, such as procedures, functions, and other declarations. A project can contain any number of modules. Each macro is stored as a procedure, or collection of VBA statements, in a module. Each module can contain as many individual macros as you want. When you record a macro, Word stores the VBA code in a module named NewMacros.

Note

Modules can be added, renamed, and otherwise manipulated as required to obtain the desired functionality.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint