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 / May 2008

Tip: Looking for answers? Try searching our database.

Recolor a picture using VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
willogee - 19 May 2008 14:16 GMT
I'm trying to use VBA to recolor a picture on a slide, to the same value as
presented in the user interface in Picture Tools, Format, Adjust, Recolor,
Light Variations, "Background color 2 Light".

I understand to set a picture to grayscale is

ActivePresentation.Slides(5).Shapes("Pic").PictureFormat.ColorType =
msoPictureGrayscale

which is close, but ideally I wish set the color as the user interface does
above.

Thanks in advance for any ideas on this.
Will
Shyam Pillai - 19 May 2008 16:26 GMT
Will,
Recolor is not natively supported in the PowerPoint object model.

Regards,
Shyam Pillai

Handout Wizard
http://skp.mvps.org/how

> I'm trying to use VBA to recolor a picture on a slide, to the same value
> as
[quoted text clipped - 12 lines]
> Thanks in advance for any ideas on this.
> Will
willogee - 19 May 2008 17:51 GMT
Shyam

Thanks - is there any other kind of way of setting coloring to "light"?

Will

> Will,
> Recolor is not natively supported in the PowerPoint object model.
[quoted text clipped - 21 lines]
> > Thanks in advance for any ideas on this.
> > Will
John Wilson - 19 May 2008 18:25 GMT
I'm reading between the lines here having seen your other post.

If you already have a picture set to "light" (maybe off screen) as you need
you could use .pickup and .apply to set others to the same setting.
Signature

-------------------------------------------
Amazing PPT Hints, Tips and Tutorials

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

> Shyam
>
[quoted text clipped - 27 lines]
> > > Thanks in advance for any ideas on this.
> > > Will
 
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.