Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 04-24-2018, 07:44 AM
JohnWilson JohnWilson is offline Struggling with Smart Art Windows 7 64bit Struggling with Smart Art Office 2016
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,914
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

Code:
Sub chexSA()

Dim osubshp As Shape
Dim oshp As Shape
On Error GoTo err
Set oshp = ActiveWindow.Selection.ShapeRange(1)
If Not oshp.HasSmartArt Then
MsgBox "This does not look like you have a Smart Art shape selected!", vbCritical
Exit Sub
End If
For Each osubshp In ActiveWindow.Selection.ChildShapeRange
osubshp.Fill.ForeColor.RGB = vbRed
Next
Exit Sub
err:
MsgBox "Is a shape selected?", vbCritical
End Sub
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Struggling with this one. In-line Cell formatting again TJMorgan Excel Programming 9 02-16-2017 10:37 AM
Struggling with Smart Art I'm struggling to do a Vlookup in MS office 16 LadyG Excel 6 01-26-2017 09:49 AM
Struggling with Smart Art Struggling with a layout issue. Need Help, Please! Moondoggy Word 2 08-08-2016 07:38 PM
Struggling with Smart Art struggling with simple task jayhammond Word VBA 3 03-04-2016 08:58 AM
Struggling with Smart Art struggling with Excel formula riccam87 Excel 1 05-02-2014 07:21 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:37 PM.


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