Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2014, 05:57 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 Powerpoint Theme Colors conversion

Hi,



I bought a professional Powerpoint template from Graphicriver. The template is well-designed, but I don't like the color scheme.
Seems like the author of the template didn't define Theme Colors.

So I 've got to do this myself. I'd like to change all instances of "red" into a "green".

Is there a way to automatically "map" all existing elements that use a specific color ("red") to a theme color?
I'd really like to avoid doing this manually, on hundreds of elements...

Thank you for your help!
Reply With Quote
  #2  
Old 12-01-2014, 07:29 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,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

If your purchased template really doesn't follow the theme colors then it really isn't either "professional" or "well designed".

You might want to post some example slides to see if it can be fixed but if what you say is true I'd send it back!
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 12-01-2014, 01:36 PM
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

Thank you for your answer.

Whether a template follows theme colors or not, is not an indicator for good or bad design to me. I prefer a good-looking template without theme colors to a badly-designed template that DOES follow theme colors.

Besides that, the author never claimed that the theme follows theme colors, so I don't think it's fair to send it back.
Reply With Quote
  #4  
Old 12-01-2014, 02:40 PM
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,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

Obviously you are welcome to your opinion but given that this is the reason you cannot change the "red to green" in one step......
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #5  
Old 12-01-2014, 02:48 PM
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

Ok, thanks. Whilst that is disappointing, at least it is a straight answer, and I now know I don't need to investigate further.
I thought there may be a neat little hidden trick (or macro) to do so...

So, "hand-crafted" red to green conversion it is
Reply With Quote
  #6  
Old 12-01-2014, 02:55 PM
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,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

Quote " You might want to post some example slides to see if it can be fixed "


If you post a few slides I may be able to fix it with code.
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #7  
Old 01-12-2015, 05:41 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

Hi John,
Thank you for offering help with code – and sorry for the late response (in case you're still reading this thread).

Back from vacation, and soon have to do more presentations. Hence I'm still keen to learn how to change non-theme-colors into theme-colors...

I've attached a file with some slides.
Basically, I'd like all the "blue" elements to be associated with Theme Accent 1, the "red" elements with Accent 2, ...

Whilst I don't know how to code Visual Basic, I think I'll be able to modify existing code –*I just don't know where to start.
I'm guessing it's a matter of inspecting the RGB values of a certain color and then mapping it to a theme color. "If RGB values equal 41,128,185 then use theme accent 1". Right?

Thank you ever so much for your help!
Attached Files
File Type: pptx Colors-to-Theme-Colors.pptx (185.6 KB, 11 views)
Reply With Quote
  #8  
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,912
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
  #9  
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, 8 views)
Reply With Quote
  #10  
Old 01-12-2015, 07:49 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,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

And is also made a lot more complex because they have grouped shapes and text!

Have a look at the code here.
Attached Files
File Type: pptm code.pptm (96.3 KB, 12 views)
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #11  
Old 01-12-2015, 09:34 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

Wow! Great work – Thanks very much John!
Looking at the code & RGB values I guess this should be easy to modify for other presentations in the future.

One last question: Would you mind (if possible) sharing the code to automatically map all black text to "Text/Background Dark 1", and all white text to "Text/Background Light 1" theme colors?

Thank you so much!
Reply With Quote
  #12  
Old 01-12-2015, 10:56 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,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

Last question (unless you want a bill, I do do this for a living in "real" life!)

Changing the text is much trickier because the text in a textbox may not be all the same color. (I see it is in the example but it may not be)

You also may want to play with the code a little and it may not be totally reliable.
Attached Files
File Type: pptm code2.pptm (98.5 KB, 9 views)
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #13  
Old 01-12-2015, 12:34 PM
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

Once again: Thanks very much John. I really appreciate this free input & help from a professional/programmer.
The code for changing text is reliable – at least for my needs.
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 03:42 AM.


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