FWIW it seemed to work ok when I tried it
=ValidPostCode(B3)
If you wanted to use it in your VBA rated that having a User defined Function on the worksheet you'd have to loop through the postcodes and throw each one to your function.
for i = 2 to lLR
cells(i,15) = ValidPostCode(cells(i,14))
Next i
=ValidPostCode(B3)
If you wanted to use it in your VBA rated that having a User defined Function on the worksheet you'd have to loop through the postcodes and throw each one to your function.
for i = 2 to lLR
cells(i,15) = ValidPostCode(cells(i,14))
Next i
Comment