![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#4
|
|||
|
|||
|
Here is how to start (then it's up to you)
Code:
Sub SA_col() Dim oSA As SmartArt Dim L As Long 'smart art must be selected! Set oSA = ActiveWindow.Selection.ShapeRange(1).SmartArt For L = 1 To oSA.AllNodes.Count Select Case oSA.AllNodes(L).Level Case Is = 1 oSA.AllNodes(L).Shapes(1).Fill.ForeColor.RGB = RGB(0, 0, 255) 'blue Case Is = 2 oSA.AllNodes(L).Shapes(1).Fill.ForeColor.RGB = RGB(0, 255, 0) 'green 'etc for other levels End Select Next L End Sub |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Smart Art - Updating a Chart
|
AD1983 | PowerPoint | 2 | 10-18-2016 06:26 AM |
Can I select the entire second or third level in an org. chart?
|
blockie | Word | 1 | 08-25-2014 11:19 PM |
I created a custom XML color scheme. How do I add that to the Built-in Color?
|
Cassik | PowerPoint | 5 | 11-04-2013 02:08 PM |
| Custom colors for smart art - via template? theme? add-on? | fl8rmaus | PowerPoint | 0 | 09-26-2012 08:10 AM |
Custom field formula not working at summary task level
|
abw1987 | Project | 3 | 10-05-2011 07:17 AM |