vb/excel question with ranges
I have a spreadsheet and was asked to write a VB Macro that will scan the spreadsheet and change the BG color of any cells that are not filled.. IE have a vakue of ""
so i can do this easy enough i think... but i need to find the limits of the sheet.. so i figure i have to scan down and scan across to find the ends of the data.. for example the sheet looks like this
VB Code:
212.44.42.827 done done done
741.171.456.747 done done done done
123.14.4.487 done done
173.14.46.681 done done done done
113.142.46.888 done done
583.44.46.833 done done done
so only where "done" is missing i want to change the BG color... any help on this??? I don't do much excel automation.. i am not so familiar with excels methods and properties