I had a hard time trying to generate an XML Excel worksheet so, I am including a very simple code that generates a small XML Excel Worksheet that will be opened directly by MS Excel.

Let me know if you have questions.

This works with OpenEdge 10.1C and MS Excel 2003

Hugo Alberto