Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2015, 06:41 AM
JohnWilson JohnWilson is offline Powerpoint Theme Colors conversion Windows 7 64bit Powerpoint Theme Colors conversion Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,914
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

The colors in that presentation are already Theme Colors (the standard Office Theme Colors)



To change eg the first Blue (accent1) to Red

Go to Design > Colors > Create New Theme Colors

Change Accent1 to Red and OK.

You don't need this but for educational purposes the code might be:

Code:
Sub switch_to_Theme()
Dim oshp As Shape
Dim osld As Slide
For Each osld In ActivePresentation.Slides
For Each oshp In osld.Shapes
If oshp.Fill.ForeColor.RGB = RGB(255, 0, 0) Then
oshp.Fill.ForeColor.ObjectThemeColor = msoThemeColorAccent1
End If
Next oshp
Next osld
End Sub
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #2  
Old 01-12-2015, 07:14 AM
DSanger DSanger is offline Powerpoint Theme Colors conversion Windows 7 64bit Powerpoint Theme Colors conversion Office 2013
Novice
Powerpoint Theme Colors conversion
 
Join Date: Nov 2014
Posts: 7
DSanger is on a distinguished road
Default

D'oh... sorry John. Wrong attachment (just came back from vacation, so not quite back in the swing of things...)
Will try your code but may need help...


Anyway – I've attached another one, which doesn't have theme colors...
Attached Files
File Type: pptx Presentation-Test.pptx (77.0 KB, 10 views)
Reply With Quote
Reply

Tags
theme color



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word/Office Theme Colors pmokover Word 1 09-07-2014 02:48 PM
Powerpoint 2010 - Custom theme applies as a master dewestone PowerPoint 1 07-15-2014 12:03 AM
Custom colors for smart art - via template? theme? add-on? fl8rmaus PowerPoint 0 09-26-2012 08:10 AM
Powerpoint Theme Colors conversion Unable to change font colors from theme colors choy Word 3 08-01-2012 09:12 PM
Powerpoint template colors Quarath PowerPoint 0 12-09-2011 04:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:53 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