Originally Posted by
isabella
That is your code after adjustment by removing Val() and datatype.
No, I'm afraid that's not true - there is no period delimiter preceding Left in my code.
Originally Posted by
isabella
There is no effect if I change it to... [with/without period]
Same error (type mismatch) prompted.
This is getting a little absurd I think - the code from post 2 revised as outlined works on your sample file without issue:
on that basis I've nothing further to add at this stage I'm afraid.
edit: if you're trying to re-run the code post errors then obviously that's a different issue and is not related to the suggested code [you have underlying error values which should not be present]
Bookmarks