instr problem with formula
There's another argument you can specify to make sure you don't have to worry
about upper/lower case.
vbTextCompare
Check VBA's help for instr and you'll see more info.
Maybe it's c:\ in the formula???
Or maybe you're looking at the wrong cell?
Shell wrote:
I am trying to use the following
If InStr(1, "C:\", Range(strC & r).Formula) 0 Then
Print #1, r & strC & " " & " " & Range(strC & r).Formula
End If
strC = D
r = 21
Range(strC & r).Formula = "=(ISERROR(GET
PIVOTDATA("EQPSERIAL",'C:\Reports..........."
The print statement never happens.
Can anyone tell me what is wrong?
Thanks
--
Shell
--
Dave Peterson
|