% 'The const's are For the colors and the Flag is needed Const sPrimaryColor = "WHITE" Const sSecondaryColor = "YELLOW" Dim bColorFlag Dim lCounter 'This function does all the work For you. Function LineColor() bColorFlag = Not bColorFlag If bColorFlag Then LineColor = sPrimaryColor Else LineColor = sSecondaryColor End If End Function %>