hi I have the follwoing code , that find in the txt file the line that start with the : THIS_LOCATION and replace the OFF_LINE with NEW
if InStr(strText , 'THIS_LOCATION' ) then
strNewText = Replace(strText, "OFF_LINE", "NEW")
End if
the VB script failed on the line :
if InStr(strText , 'THIS_LOCATION' )
what wrong?
THX yael