We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Save as Word doc [closed]

asked 2018-10-04 17:56:58 +0200

pauld gravatar image

updated 2020-07-23 17:04:41 +0200

Alex Kemp gravatar image

Is there a way that I can add "Save as Word docx" to my Writer toolbar in the same way I can add an "Export to PDF" icon?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-07-23 17:05:08.753584

3 Answers

Sort by » oldest newest most voted

answered 2018-10-05 06:48:52 +0200

KH gravatar image

There is no such icon available in the Customize menu (Tools > Customize > Toolbars). It might be possible to write a macro to do this, but I don't know for sure.

Depending on how you intend to use it, adding "Save As" or "Export" to the toolbar might get you half way.

edit flag offensive delete link more

answered 2018-10-05 09:08:53 +0200

gabix gravatar image

Here is a macro that I use to export from Writer/Calc/Impress to Microsoft's X-d formats. I don't remember who is the author of the original code, I just modified it. Warning: it fails on spreadsheet and presentation files (I am not skilled enough to understand the problem). However, it does export from Writer to DOCX.


edit flag offensive delete link more

answered 2018-10-05 15:10:48 +0200

pauld gravatar image

Thanks so much, gabix. I've not used macros before but gave it a try! When I try to run it I get a popup box that says "BASIC runtime error. Argument is not optional." Now, I'm not sure if it has anything to do with it but I wasn't sure what to do with the second section of code headed by "RAW Paste Data". BTW I'm using a Mac and I'm running LibreOffice v6.1.2.1. Cheers

edit flag offensive delete link more


Paste the code from that RAW paste data section because the fancy colored code may contain some markup artifacts causing the error. And repost it as a comment because it is not an answer.

gabix gravatar imagegabix ( 2018-10-05 15:16:50 +0200 )edit

Please excuse my ignorance but where do I paste this code? At the end of the other code?

pauld gravatar imagepauld ( 2018-10-05 15:20:07 +0200 )edit

Question Tools

1 follower


Asked: 2018-10-04 17:56:58 +0200

Seen: 402 times

Last updated: Oct 05 '18