Thanks vbaInet, that worked. Now I seem to be having a problem with the account number.
the account number is either 13 or 16 numbers long.
If it is 13, then I need the first 5 numbers, if it is 16, then I need the first 6 numbers.
Right now, the 13 one works fine. I get the proper 5 first...