RWayneH
asked on
Search for a value in Column?
Using VBA I was wondering if I could loop thru the contents of each cell in Column C (until it reaches a blank cell) looking for a value like DEPOSIT. If the word DEPOSIT shows anywhere in the contents of the cell in column C, change the cells (of that row) A thru F green and put the value: "My pay check" in column F.
The odd part is that when searching column C, we are not searching for exact contains of the cell. It is part of the contents. Column C could be "DEPOSIT 12-29-2016" but because it has the word DEPOSIT it would be true.
Looking for some assistance. Thanks.
The odd part is that when searching column C, we are not searching for exact contains of the cell. It is part of the contents. Column C could be "DEPOSIT 12-29-2016" but because it has the word DEPOSIT it would be true.
Looking for some assistance. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I should say this different... sometimes there is blank in column C, but not in column A, but I am checking the cell contents of column C. Hope this makes sense... The dataset number of rows is determined by the number of rows in column A
ASKER
Figured it out... chg'd the C1 in Ln5 to A1 and it handled the whole dataset works great. Thanks!!
ASKER
Thanks for the help.
ASKER