AnsweredAssumed Answered

Processbook Trend trace/pen color with VBA

Question asked by msj_ on Jan 18, 2018
Latest reply on Jan 19, 2018 by kduffy

Hi all,

 

This should be a quick and easy one. I have 30 trends in which I would like to change the colour of trace/pen 2 to a different colour with VBA. The looping part is easy, but which method should I use do change the trace colours?

I have tried to use 'current_trend.LineColor' which only changes the colour of the markers.

GetFormat -> .item(1).color = ### -> SetFormat gives 'does not support method' error.

 

Thanks,

 

Shiji

Outcomes