This example sets the name of object two on slide one in the active presentation to "big triangle."
ActivePresentation.Slides(1).Shapes(2).Name = "big triangle"
This example sets the fill color for the shape named "big triangle" on slide one in the active presentation.
ActivePresentation.Slides(1) _
.Shapes("big triangle").Fill.ForeColor.RGB = RGB(0, 0, 255)