Change color of data points in a chart in excel using VBA
00:40 Method 1: Change data point color based on categories
06:34 Method 2: Change data point color based on numbers
Sub color_dots()
Dim s As Series
Dim i As Integer
Set s = (1)
For i = 1 To
If Cells(i 1, 3) = “A“ Then (i). = RGB(255, 80, 80)
If Cells(i 1, 3) = “B“ Then (i). = RGB(255, 153, 0)
If Cells(i 1, 3) = “C“ Then (i). = RGB(0, 128, 128)
Next i
End Sub
----------------------------------------------------------------------------------------------------------------
Sub color_dots()
Dim s As Series
Dim i As Integer
Set s = (1)
For i = 1 To
(i). = Cells(i 1, 4
0 views
688
195
2 weeks ago 00:01:07 1
What Are the Common Issues with Laser Marking Additives? #lasermarking #laser #plastic #additive
4 months ago 01:11:07 4
Underwater World OLED Demo HDR 16KUltra HD Dolby Vision™ 60fps (4K / 8K TV)
5 months ago 00:04:14 5
Ровная смена цвета при вязании игрушек крючком / Smooth color change when crocheting toys
5 months ago 00:10:17 9
DRIFTERZ – THE BEGINNING: PART 1 | TIL SCHWEIGER | Official Action Movie 2025 | 4K ULTRA HD