I am not aware of any way to prevent that. The string is the full XPath to the field being represented in Excel. Why is this important? Because a form could have multiple fields with the same name, and you'd have no other way to differentiate them.

Signature
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com
How can I prevent the string of text after "CustomerName" below from
appearing as a column header when I export a InfoPath Form to Excel?
CustomerName(svc:serviceRequest/my:Satellite_Care_Claims/my:Customer_Name)
Thanks
Graham - 19 Jan 2006 16:31 GMT
What I was hoping to do was have the form fields functions as column headers
in Excel. Without the ability to filter out the full path, I would need to
edit the column headers manually to make the excel spreadsheet more readable.
I understand what you are saying about differentiateing the feild names, I
was just hoping for some type of filter option when exporting to excel to
avoid very long column names.
Thanks for yor comments.
> I am not aware of any way to prevent that. The string is the full XPath to the field being represented in Excel. Why is this important? Because a form could have multiple fields with the same name, and you'd have no other way to differentiate them.
>
[quoted text clipped - 4 lines]
>
> Thanks