Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need to be able to format some cells that are not adjacent to each other. I can do it on a cell-by cell basis: CurrentCellNew.Select With Selection.Interior .ColorIndex = 15 End With CurrentCellNew = CurrentCellNew.Offset(0, 1) CurrentCellNew.Select With Selection.Interior .ColorIndex = 15 End With CurrentCellNew = CurrentCellNew.Offset(0, 12) CurrentCellNew.Select With Selection.Interior .ColorIndex = 15 End With but this is really ugly. How do I select a number of cells (their offset position from CurrentCellNew will always be known)? This is in Office '07 under Vista. TIA Dave |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Non-contiguous cells | Excel Discussion (Misc queries) | |||
Copy and Paste LAST ROW of data: non-contiguous Row, contiguous Column | Excel Programming | |||
Subtotaling non-contiguous cells | Excel Worksheet Functions | |||
counting cells that are 0 in a range of non-contiguous cells | Excel Worksheet Functions | |||
Testing for contiguous cells | Excel Programming |