Newbie needs help with if statement

  • Thread starter Thread starter bighoss
  • Start date Start date
B

bighoss

I need an if statement that looks at a specific field and checks to se
if it is white. I have a spread sheet that the only thing I know i
that there is a white line separating some data I need to process.

I am sure I am way off base and could really use your help. This i
what I have:

For Each rw In Worksheets("Master").Range("Data").Rows
If Worksheets("Master").Range("Data").Cells(rw.Row, 1).BackColor
255 Then
.....
Next rw

Please Help and Thanks in advance
 
The function is Interior.ColorIndex, I believe. You'll have to figure out what
the index is for White. Or use the Interior.Color with the RGB value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top