Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / February 2008

Tip: Looking for answers? Try searching our database.

Macros in PPT 2007

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave Robinson - 07 Feb 2008 16:26 GMT
How do I make a macro available to every presentation in ppt?

In my first 2007 Presentation I created a macro to print to a color copier
(not the default printer) and put the macro on the QAT with a special icon.  
It worked for that Presentation (as it does in Word also).  However, in all
other presentations, it does not recognize the macro and gives an error
message "Powerpoint can't run this macro because it can't open
Presentation1.ppt".

In PPT 2003 I used the 'customize' option to put the macro on a toolbar and
it was available to all presentations.
-
Dave Robinson
David M. Marcovitz - 07 Feb 2008 17:20 GMT
I'm sure you are mistaken. This is done in roughly the same way as it
was done in 2003. Both involve creating an add-in. Here is information
about creating an add-in:

Create an ADD-IN with TOOLBARS that run macros
http://www.pptfaq.com/FAQ00031.htm

Signature

David M. Marcovitz
Microsoft PowerPoint MVP
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/

=?Utf-8?B?RGF2ZSBSb2JpbnNvbg==?= <DR@DHS.gov> wrote in
news:265D0DED-D760-42C7-9101-BD38F4166537@microsoft.com:

> How do I make a macro available to every presentation in ppt?
>
[quoted text clipped - 9 lines]
> -
> Dave Robinson
Steve Rindsberg - 07 Feb 2008 21:45 GMT
> I'm sure you are mistaken.

Perhaps not.  From 2000 on, PPT appears to track the presentation that added
buttons that invoke macros.  If you click the button and PPT can find the
presentation, it'll open it and load/run the macro.  

That could account for why this worked in earlier versions.

The fact that it's looking for "Presentation1" suggests that the presentation
containing the macro was never saved, so while PPT is still trying to load it,
it's not there to be found.  Perhaps saving it first, then assigning the macro
to the QAT might work.

But it wouldn't be especially reliable.  Add-ins are the better way to go, as
you say.

> This is done in roughly the same way as it
> was done in 2003. Both involve creating an add-in. Here is information
> about creating an add-in:
>
> Create an ADD-IN with TOOLBARS that run macros
> http://www.pptfaq.com/FAQ00031.htm

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
David M. Marcovitz - 08 Feb 2008 15:44 GMT
Wow. I learn something new every day.

>> I'm sure you are mistaken.
>
[quoted text clipped - 24 lines]
> PPTools:  www.pptools.com
> ================================================
Steve Rindsberg - 08 Feb 2008 21:23 GMT
> Wow. I learn something new every day.

And [see Shyam's reply] so do I.

> >> I'm sure you are mistaken.
> >
[quoted text clipped - 24 lines]
> > PPTools:  www.pptools.com
> > ================================================

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Shyam Pillai - 08 Feb 2008 14:14 GMT
Dave,
In 2007, PPT does not reference the full path to the presentation when you
add the macro to the QAT. Hence the issue. Create an add-in that's the best
way to go.

Signature

Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com

> How do I make a macro available to every presentation in ppt?
>
[quoted text clipped - 12 lines]
> -
> Dave Robinson
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.