Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logic problem PLEASE HELP

Status
Not open for further replies.

missprogrammer

Programmer
Nov 7, 2000
20
US
I can not figure out how to select the last four columns.The code below stores the first column, but from there i want to select the next 3 column. Within the column i want to select the cells that are null and where the cell is not already black and turn red

If .cells(y - 1, x) <> &quot;Answer&quot; Then

blnStop = True
intCalcCol = x

I want to add this into my VBA CODE
 
Not sure if I understand what you are trying to achieve but have you tried Conditional Formatting??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top