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 / December 2007

Tip: Looking for answers? Try searching our database.

How do I add an Gallery item to the quick access toolbar in PP?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Darmahart - 12 Dec 2007 15:05 GMT
I would like to add an item from a Gallery(not the gallery itself) to my
quick access toolbar or alternatively know the VBA code to take a picture and
add a particular shadow to an image on PowerPoint slides.
Thanks!
John Wilson - 12 Dec 2007 17:07 GMT
It's not totally clear what you need to do Darmahart.

Would vba that takes the format of one picture and applies it to all the
other pictures help?
Signature

Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> I would like to add an item from a Gallery(not the gallery itself) to my
> quick access toolbar or alternatively know the VBA code to take a picture and
> add a particular shadow to an image on PowerPoint slides.
> Thanks!
Darmahart - 12 Dec 2007 17:14 GMT
Yes that would help. What I want is to apply one shadow effect to all the
pictures in a PowerPoint show by either putting a button on the quick access
bar or using a keystroke. If there is code that will automatically do this by
default, that would be great!

> It's not totally clear what you need to do Darmahart.
>
[quoted text clipped - 5 lines]
> > add a particular shadow to an image on PowerPoint slides.
> > Thanks!
John Wilson - 12 Dec 2007 19:51 GMT
This code will copy the format of a selected picture and then apply it to all
pictures. If you don't know how to use vba
see:http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html#vba

'code starts

Sub picformat()
Dim osld As Slide
Dim oshp As Shape
On Error GoTo errhandler
With ActiveWindow.Selection.ShapeRange(1)
If .Type <> msoPicture Then GoTo errhandler
.PickUp
End With
For Each osld In ActivePresentation.Slides
For Each oshp In osld.Shapes
If oshp.Type = msoPicture Then oshp.Apply
Next oshp
Next osld
Exit Sub
errhandler:
MsgBox "Did you select a picture?", vbCritical
End Sub

'code ends
Signature

Amazing PPT Hints, Tips and Tutorials

http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk

> Yes that would help. What I want is to apply one shadow effect to all the
> pictures in a PowerPoint show by either putting a button on the quick access
[quoted text clipped - 10 lines]
> > > add a particular shadow to an image on PowerPoint slides.
> > > Thanks!
Darmahart - 17 Dec 2007 14:35 GMT
Thanks for your help. The macro worked great, but I can't get it to work by
putting it on a template. I have my template that I added the code to and
when I make new PowerPoints from the template I get an error message. How can
I get it to work?

Thanks so much!

> This code will copy the format of a selected picture and then apply it to all
> pictures. If you don't know how to use vba
[quoted text clipped - 36 lines]
> > > > add a particular shadow to an image on PowerPoint slides.
> > > > Thanks!
Steve Rindsberg - 17 Dec 2007 19:35 GMT
> Thanks for your help. The macro worked great, but I can't get it to work by
> putting it on a template. I have my template that I added the code to and
> when I make new PowerPoints from the template I get an error message. How can
> I get it to work?

Start by relieving our suspense;  what did the error message say?  ;-)

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Darmahart - 17 Dec 2007 21:04 GMT
Opps - my bad. The error was 'The macro cannot be found or has been disabled
because of your security settings.'

fyi - I did change the trust settings to  'Trust access to the VBA project
object model' and saved the template with the macro in the default location.

Thanks!

> > Thanks for your help. The macro worked great, but I can't get it to work by
> > putting it on a template. I have my template that I added the code to and
[quoted text clipped - 8 lines]
> PPTools:  www.pptools.com
> ================================================
Steve Rindsberg - 18 Dec 2007 02:05 GMT
Try setting Enable All Macros [dire warning] in the same dialog box as where you set
access to the VBA project.  Restart PPT and try again.  See if that helps.

> Opps - my bad. The error was 'The macro cannot be found or has been disabled
> because of your security settings.'
[quoted text clipped - 16 lines]
> > PPTools:  www.pptools.com
> > ================================================

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Darmahart - 18 Dec 2007 03:57 GMT
Thanks! That worked. :)

> Try setting Enable All Macros [dire warning] in the same dialog box as where you set
> access to the VBA project.  Restart PPT and try again.  See if that helps.
[quoted text clipped - 25 lines]
> PPTools:  www.pptools.com
> ================================================
Darmahart - 13 Dec 2007 00:43 GMT
Thanks so much!

> It's not totally clear what you need to do Darmahart.
>
[quoted text clipped - 5 lines]
> > add a particular shadow to an image on PowerPoint slides.
> > Thanks!
 
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.