fncSplit = Right(strInput,Instr(strInput,"-") - 1) should have been:
fncSplit = Right(strInput,LEN(strInput)-Instr(strInput,"-") - 1)
Please keep in mind that you should experiment with the code,as I've already indicated, and many changes will be needed to optimize the algorithm to suit your needs and 100% won't be possible.
Nic;o)