Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Newbie needs help with if statement


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

--
bighos
-----------------------------------------------------------------------
bighoss's Profile: http://www.excelforum.com/member.php...fo&userid=1471
View this thread: http://www.excelforum.com/showthread.php?threadid=26342

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default Newbie needs help with if statement

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.

On Fri, 24 Sep 2004 23:34:37 -0500, bighoss
wrote:


I need an if statement that looks at a specific field and checks to see
if it is white. I have a spread sheet that the only thing I know is
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 is
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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statement inside a SUMIF statement.... or alternative method Sungibungi Excel Worksheet Functions 3 December 4th 09 06:22 PM
Reconcile Bank statement & Credit card statement & accounting data Bklynhyc Excel Worksheet Functions 0 October 7th 09 09:07 PM
[newbie] if statement Jon Excel Discussion (Misc queries) 4 April 13th 09 12:28 AM
Real Newbie newbie question Dave New Users to Excel 0 January 10th 07 07:55 PM
Newbie Help. Is this possible? taltos1 Excel Discussion (Misc queries) 5 November 12th 05 04:40 PM


All times are GMT +1. The time now is 03:23 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"