This samples exports a model to Excel:
Export to Excel