Hi,
A little update so that line colors of the text can be automatically decided when user changes the fill color of the text.
Line color is the mean value of the fore ground color and back ground color of the text fill color.
The formula to calculate mean value is
strMeanLineColor = "RGB((RED(FillForegnd)+RED(FillBkgnd))*0.5,(GREEN(FillForegnd)+GREEN(FillBkgnd))*0.5,(BLUE(FillForegnd)+BLUE(FillBkgnd))*0.5)"