# Excel using MSOGenerateExcel activity downloading in unknown format and could not open it

**URL:** <https://forums.pega.com/t/excel-using-msogenerateexcel-activity-downloading-in-unknown-format-and-could-not-open-it/565>\
**Category:** General\
**Created:** [September 18, 2020, 12:40pm UTC](https://forums.pega.com/t/excel-using-msogenerateexcel-activity-downloading-in-unknown-format-and-could-not-open-it/565 "2020-09-18T12:40:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DILIP\_DONDA](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@DILIP\_DONDA](https://forums.pega.com/u/DILIP_DONDA)\
**Post date:** [September 18, 2020, 12:40pm UTC](https://forums.pega.com/t/excel-using-msogenerateexcel-activity-downloading-in-unknown-format-and-could-not-open-it/565/1 "2020-09-18T12:40:35Z")

</div>

Hi,

I tried creating a binary file using excel template and provided all required properties and configured the activity on button to generate excel, but it was downloading in a different format which is un-readable and not able to open it.

here i have used excel template from already existing application and changed properties on it and uploaded as binary file. Traced it and there are no issues. Is the template causing issue? couldn’t understand.

Please tell me where the issue is coming.

Thanks

_ **Edited by Moderator Kayla to update Content Type from Discussion to Question** _

![file.PNG](https://pega1.discourse-cdn.com/pega/original/2X/3/39cd0b8390926f53f2aafb33b3721782426ed8eb.png)

---

<div class="post-metadata">

**Author:** ![DILIP\_DONDA](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@DILIP\_DONDA](https://forums.pega.com/u/DILIP_DONDA)\
**Post date:** [September 25, 2020, 4:28am UTC](https://forums.pega.com/t/excel-using-msogenerateexcel-activity-downloading-in-unknown-format-and-could-not-open-it/565/2 "2020-09-25T04:28:41Z")

</div>

Hi,

Issue has been resolved. Its a minor missing of space " ".

Thanks.
