Decription: This code will quickly group and color your selection. Select a shape or shapes and run. I use a keyboard shortcut. Handy for quickly grabbing all necessary items that may be sent to a machine.
Date: 2010-11-10 Author: John
Code:
Sub groupAndColor()
Dim s As Shape
Set s = ActiveSelection
With s
s.Fill.UniformColor.CMYKAssign 60, 0, 20, 20
If s.Shapes.count > 1 Then
.Group
End If
End With
End Sub
|