Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-28-2013, 03:48 AM
JohnWilson JohnWilson is offline Change accent theme color used as shape fill (not RGBs) Windows 7 64bit Change accent theme color used as shape fill (not RGBs) Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,913
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

You need to say whether you are working in edit mode or show mode.

In EDIT only this is the code:

Code:
Sub AC2()
Dim oshp As Shape
Set oshp = ActiveWindow.Selection.ShapeRange(1)
oshp.Fill.ForeColor.ObjectThemeColor = msoThemeColorAccent2
End Sub
It will NOT work in show mode.
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change accent theme color used as shape fill (not RGBs) What logic does P.P. use to move elements on theme change? Malcom PowerPoint 2 05-24-2013 02:55 AM
color change for same shape ajkiran PowerPoint 1 11-10-2012 07:41 AM
Change accent theme color used as shape fill (not RGBs) Change Colour Theme in Word with VBA Davidoff78 Word VBA 1 06-28-2012 05:23 PM
Change accent theme color used as shape fill (not RGBs) Help: office 2010 lost its color theme lczlcz Office 7 03-26-2012 11:37 PM
Change accent theme color used as shape fill (not RGBs) Change Automatic Fill Color Leanne PowerPoint 1 11-04-2009 08:34 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:40 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft