With myDocument.Shapes.AddShape(Type:=msoShapeRectangle, _ Top:=144, Left:=144, Width:=72, Height:=72) .Name = "Red Square" .Fill.ForeColor.RGB = RGB(255, 0, 0) .Line.DashStyle = msoLineDashDot End With