Hi Anita,
There are a couple things you can try. The first would be to enter ' AFE in Excel which will add a space before AFE. There is also an option in Studio that trims leading and trailing spaces so you can try unchecking "Trim leading spaces" to see if that makes a difference.

I hope one of these options works. If they don't work, please send your script and data file so we can take a look.
Thanks,
------------------------------
Maria Ebner
Precisely Software Inc.
------------------------------