hi all,
Im trying to find all black cells in the range F3:CZ137 and then add the Value of 1 into the cell - there are quite a few, so would be a very laborious task. Is this possible with VBA?
many thanks
hi all,
Im trying to find all black cells in the range F3:CZ137 and then add the Value of 1 into the cell - there are quite a few, so would be a very laborious task. Is this possible with VBA?
many thanks
Range("F3:CZ137").select
Selection.SpecialCells(xlCellTypeBlanks).Select
[VBA]
dim rng as range
dim r as range
set rng = range("F3:cz137")
for each r in rng
next
[/VBA]
Are the cells formatted black directly or are they the result of a conditional format being applied? The methods to deal with these are quite different.
_________________________________________________________________________
"In theory there is no difference between theory and practice. In practice there is." - Chuck Reid
Any day you learn something new is a day not wasted.