# ExcelWriter in Windows

**URL:** <https://forum.xojo.com/t/excelwriter-in-windows/51511>\
**Category:** Extras\
**Created:** [December 9, 2019, 8:53am UTC](https://forum.xojo.com/t/excelwriter-in-windows/51511 "2019-12-09T08:53:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Cox](https://forum.xojo.com/user_avatar/forum.xojo.com/david_cox/32/227_2.png) [@David\_Cox](https://forum.xojo.com/u/David_Cox)\
**Post date:** [December 9, 2019, 8:53am UTC](https://forum.xojo.com/t/excelwriter-in-windows/51511/1 "2019-12-09T08:53:22Z")

</div>

I have a desktop project on macOS with an export button that creates a spreadsheet with Einhugur’s ExcelWriter plugin. When I run the project on macOS it all works fine. When I debug under Windows I get the error message below (but the app still runs). If I delete the button, the error message no longer appears in Windows. It only appears on launch, not when I click the button.  
 ![](http://www.webappdevelopments.com/downloads/ScreenShot2019-12-06at2.04.36%20pm.png)  
I am running the latest Xojo 2019R2 with the latest Einhugur ExcelWriter 1.7 and #TypeLib.xojo\_plugin 9.3.2.  
I assume it has something to do with the 2019R2 DateTime changes (I have not updated this project to API 2), but why does it affect Windows and not macOS, and what is the solution?

---

<div class="post-metadata">

**Author:** ![Sascha\_S](https://forum.xojo.com/user_avatar/forum.xojo.com/sascha_s/32/22328_2.png) [@Sascha\_S](https://forum.xojo.com/u/Sascha_S)\
**Post date:** [December 9, 2019, 9:14am UTC](https://forum.xojo.com/t/excelwriter-in-windows/51511/2 "2019-12-09T09:14:31Z")

</div>

You should contact Björn, because here it works just fine on macOS and Windows using the same PlugIn Versions. But i am not 100% sure, if i use API1 or 2 atm.

---

<div class="post-metadata">

**Author:** ![David\_Cox](https://forum.xojo.com/user_avatar/forum.xojo.com/david_cox/32/227_2.png) [@David\_Cox](https://forum.xojo.com/u/David_Cox)\
**Post date:** [December 9, 2019, 9:19am UTC](https://forum.xojo.com/t/excelwriter-in-windows/51511/3 "2019-12-09T09:19:24Z")

</div>

Thanks. I searched the forum first for an answer, but found none. Sometimes the forum is faster when you need an answer urgently.

---

<div class="post-metadata">

**Author:** ![David\_Cox](https://forum.xojo.com/user_avatar/forum.xojo.com/david_cox/32/227_2.png) [@David\_Cox](https://forum.xojo.com/u/David_Cox)\
**Post date:** [December 9, 2019, 11:50am UTC](https://forum.xojo.com/t/excelwriter-in-windows/51511/4 "2019-12-09T11:50:26Z")

</div>

Using the ‘TypeLib for Xojo 2017r2 or newer (GTK3)’ solved the issue .

---

<div class="post-metadata">

**Author:** ![Björn\_Eiríksson](https://forum.xojo.com/letter_avatar_proxy/v4/letter/b/da6949/32.png) [@Björn\_Eiríksson](https://forum.xojo.com/u/Bj%C3%B6rn_Eir%C3%ADksson)\
**Post date:** [December 9, 2019, 2:00pm UTC](https://forum.xojo.com/t/excelwriter-in-windows/51511/5 "2019-12-09T14:00:44Z")

</div>

I think there is issue there though, when checking the build Macro’s then I think there may be issue with Windows and Linux APIv2 version.

Which I will try to push out fix for at end of the week.

Björn

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [April 29, 2021, 4:12pm UTC](https://forum.xojo.com/t/excelwriter-in-windows/51511/6 "2021-04-29T16:12:36Z")

</div>


