I've made a macro to cleanse and capitalize certain name types and it works fine with the _test_field_
However, when I try to use it in a normal workflow I get the error "Unknown Field Type" regardless of whether its a file (xlsx or csv) I'm using as input or like the below text input (I have attached this test program)

Tool 8 is the first of my multifield formulas (titlecase and cleanse punctuation) and I cannot see anywhere that it's configured wrong, but it must be.
I have attached the macro to this post and hopefully someone can help me get this working.
