Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
i would like to automatically color all blank cells unfilled which can vary
on each sheet at close of workbook,any suggestions .The total number of blank cells will be no more than 100 -- BD3 -- BD3 |
#2
![]() |
|||
|
|||
![]()
Maybe you're looking for something like this. It works for cells A1:J4 on
Sheet 1, but you can change that as required: For rwIndex = 1 To 4 For colIndex = 1 To 10 With Worksheets("Sheet1").Cells(rwIndex, colIndex) If .Value = "" Then Worksheets("Sheet1").Cells(rwIndex, colIndex).Select With Selection.Interior .ColorIndex = 6 .Pattern = xlSolid End With End If End With Next colIndex Next rwIndex You can refer to this code within an macro or at close, whichever is prefered. Hope this helps. -Chad "bigdaddy3" wrote: i would like to automatically color all blank cells unfilled which can vary on each sheet at close of workbook,any suggestions .The total number of blank cells will be no more than 100 -- BD3 -- BD3 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
auto protection of cells | Excel Worksheet Functions | |||
Auto Skipping and protected cells | Excel Discussion (Misc queries) | |||
Auto fit wrapped and merged cells | Excel Discussion (Misc queries) | |||
Formatting cells Auto fill color using €œIf€ | Excel Worksheet Functions | |||
Auto fit merged cells | Excel Discussion (Misc queries) |