我正试图在我的报告中的栏目中添加替代颜色。我有一个矩阵,在我想要替换的列上有一个组。我在报告属性代码中使用了以下内容:
Private bOddRow(10) As Boolean
Function AlternateColor(ByVal OddColor As String, ByVal EvenColor As String, ByVal Toggle As Boolean, ByVal Type AS INTEGER) As String
If Toggle Then bOddRow(Type) = Not bOddRow(Type)
If bOddRow(Type