I want to set the code to reflect a specific color property instead of automatic. I want to use a light gray instead of the black lines, but I don’t know where to go to grab the color. I want to change .ColorIndex = xColorIndexAutomatic to = RGB(?,?,?) Thanks!
Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
With Target.TableRange1.Borders
.LineStyle = xlContinuous
.ColorIndex = xlColorIndexAutomatic
.Weight = xlThin
End With
End Sub