View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Heera[_2_] Heera[_2_] is offline
external usenet poster
 
Posts: 26
Default Macro is not able to identify the value.


Hi All,

I have created the below mentioned loop which return me TRUE or FALSE Value
in a cell.
Do Until ActiveCell.Offset(0, -11).Value = ""
ActiveCell.FormulaR1C1 = "=ISERROR(VLOOKUP(RC[-12],'[" & Dname & "]Data
Base'!R2C1:R20000C1,1,0))"
ActiveCell.Offset(1, 0).Select
Loop

After that I have below mentioned code but the macro is not able to detect
the cell value as true or false.(In If function) I am not able to understand
what is going wrong with the coding.

Do Until ActiveCell.Value = ""
If ActiveCell.Value = "TRUE" Then
'Here I have my code.
End if
Loop
Heera