Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On a given active row, what is the boolean statement to perform the following:
if cell "H" for a given row contains "i" then Sheets("Report").Range("B1") = "Yes" again... I'm new to this and need some basic guidance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
givenrow = 2
if Instr(1,cells(givenrow,"H"),"i",vbTextCompare) then Sheets("Report").Range("B1") = "Yes" End if If you mean the value of the entire cell is the 1 characters string "i" If cells(givenrow,"H) = "i" then Sheets("Report").Range("B1") = "Yes" End if -- Regards, Tom Ogilvy "TexWolf" wrote: On a given active row, what is the boolean statement to perform the following: if cell "H" for a given row contains "i" then Sheets("Report").Range("B1") = "Yes" again... I'm new to this and need some basic guidance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If statment | Excel Discussion (Misc queries) | |||
IF, AND statment | Excel Worksheet Functions | |||
if statment | Excel Worksheet Functions | |||
If Statment - Active Cell Column Address | Excel Discussion (Misc queries) | |||
If statment | Excel Worksheet Functions |