sorry cannot help
i dont have access to heat maps in my version of excel so cannot test the syntax out
i did a quick google and it looks like i found the something that looks like the base code
With ActiveChart.PlotArea.Format.Fill
.Visible = msoTrue
.TwoColorGradient msoGradientVertical, 1
.ForeColor.RGB = RGB(255, 0, 0)
.BackColor.RGB = RGB(0, 0, 255)
.GradientStops(1).Position = 0.1
.GradientStops(2).Position = 0.6
End With
if this works then you just need to change the forecolor as everything else would be the same setting?
so maybe
Sub test()
'select the chart then run the code
With ActiveChart.PlotArea.Format.Fill
.ForeColor.RGB = RGB(255, 0, 0) 'change this to test
End With
End Sub
Bookmarks