The code below returns the value of 9.
Now let's assume that "XXX-EUR Recharge 999" resides in cell C4. Is there a way to write the code so that InStr evaluates the string in this cell?
I've tried:
recharge_start = InStr(C4, "Recharge")
recharge_start = InStr("C4", "Recharge")
recharge_start = InStr("C" & count, "Recharge")
recharge_start = InStr(Range("C4").Value, "Recharge")
None of these work. If the InStr function cannot do this, is there another function that can do the trick?
The attached file is irrelevant. It related to a more complex question and unfortunately I don't know how to delete it from this post. Please disregard it.
Bookmarks