S
scorpion53061
I want to color the row black and set the font white in an excel spreadsheet
if:
the TOTAL column is > 1
and
more than one of the other columns are > 0. (In other words a minimum of two
columns in the spreadsheet are greater than 0)
Also those of you familiar with ADO.NET can you suggest a resource to learn
how to do charts in excel based on ADO.NET dataset data?
Here is where I am at....
Dim ObjVal As Object
ObjVal = WSheet.Cells(p + 2, 26).Value
Dim days As Integer
days = ObjVal
(Days is the value of the TOTAL cell and I need to put something here to
find the more than one column value to tell it to color the row - not sure
how to acomplish the font thing)
If days > 1 Then
With WSheet.Rows.Item(p, 1).Interior
.Pattern = 1 'xlSolid
End With
End If
if:
the TOTAL column is > 1
and
more than one of the other columns are > 0. (In other words a minimum of two
columns in the spreadsheet are greater than 0)
Also those of you familiar with ADO.NET can you suggest a resource to learn
how to do charts in excel based on ADO.NET dataset data?
Here is where I am at....
Dim ObjVal As Object
ObjVal = WSheet.Cells(p + 2, 26).Value
Dim days As Integer
days = ObjVal
(Days is the value of the TOTAL cell and I need to put something here to
find the more than one column value to tell it to color the row - not sure
how to acomplish the font thing)
If days > 1 Then
With WSheet.Rows.Item(p, 1).Interior
.Pattern = 1 'xlSolid
End With
End If