Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear all,
I have code as follows: k = 0 For i = 0 To rs.RecordCount - 1 k = k + 2 For j = 0 To rs.Fields.Count - 1 Sheet1.Cells(k + 5, j + 1) = rs.Fields(j).Value ' How to add code to change the row of k+5 Next j rs.movenext next i In the above code, I want to change the row color of rows k+5 to green. How can I do that? Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't format cell color/text color in Office Excel 2003 in fil | Excel Discussion (Misc queries) | |||
change fill color of a range of cells based on color of a cell? | Excel Programming | |||
Can't format cell color/text color in Office Excel 2003 in files . | Excel Discussion (Misc queries) | |||
My fill color and font color do not work in Excel Std Edition 2003 | Excel Discussion (Misc queries) | |||
Browse Forms Controls and change TextBox color based on cell color | Excel Programming |