KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q158891: PPT: Using Macros Stored in Templates

Article: Q158891
Product(s): Microsoft PowerPoint for Windows
Version(s): MACINTOSH:98; WINDOWS:97
Operating System(s): 
Keyword(s): kbmacro kbtemplate kbpptvbakbfaq
Last Modified: 19-APR-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft PowerPoint 98 Macintosh Edition 
- Microsoft PowerPoint 97 for Windows 
-------------------------------------------------------------------------------


SUMMARY
=======

When you use a template that contains one or more Microsoft Visual Basic for
Applications macros, those macros may or may not be added to your current
presentation. There are two different ways that you can use a template in
PowerPoint. One method includes macros, the other does not.

MORE INFORMATION
================

Template with Macros
--------------------

1. If PowerPoint is already running, click New on the File menu. If it is not
  already running, start PowerPoint, and then click Template in the Startup
  dialog box.

2. In the list of available templates, click the template that you want to use.
  Click OK.

3. If you have already created some slides that you want to use in this
  presentation, you can add them to this new presentation by clicking Slides
  from File on the Insert menu.

Template Without Macros
-----------------------

1. Create one or more slides in a new presentation.

2. On the Format menu, click Apply Design.

3. In the list of available templates, click the template that you want to use.

PowerPoint stores macros as part of a presentation file. When you create a new
presentation based on a template, you are essentially opening an untitled copy
of the template file. This copy contains all the slides and macro code contained
in the template. When you apply a template to an existing presentation, only the
information from the Slide, Title, Notes Pages, and Handout masters is added to
the presentation. The macro code is not added.

Additional query words: 97 8.00 ppt8 powerpnt power point macro visual basic vb vba vbe copy module form ppt97 macppt 98

======================================================================
Keywords          : kbmacro kbtemplate kbpptvba kbfaq
Technology        : kbHWMAC kbOSMAC kbPowerPtSearch kbPowerPt97 kbPowerPt97Search kbPowerPt98Search kbPowerPt98
Version           : MACINTOSH:98; WINDOWS:97
Hardware          : MAC x86
Issue type        : kbhowto

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.