Hello,
I am trying to incorporate this formula into a VBA Do while loop:
=IF(SEARCH("~*",A1),MID(A1,6,4),0)
Basically, I want to search the cells on column 1 if it contains an asterisk. If it does, I want to extract 4 numbers out of it.
It works fine when I type the formula on a cell, but I...