Microsoft Word File Import/Export (Question Format)
Maintained by
Eoin Campbell
Import questions (including images and equations) from structured tables in a Word file (.docx format) into a course question bank, and also export questions to a Word file, allowing for round-trip editing.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
Okay, scratch the above, got this sorted. I had inadvertently downloaded the v3.4 template (Updated: 2016-08-23) rather than the one you had linked for me that was updated on 2015-12-09. I corrected my error and my files are now converting the images.
Thank you so much for your help!
Any other thoughts on what I could try?
If Windows Defender is switched off permanently, then you can use the older version of the Word template which still contains the code to convert image data back into images after exporting questions. To download the older template, you must register on the www.moodle2word.net website, and enrol in the "WordTable Conversion" course. Once enrolled, you can download and install "Moodle Question Word 2010 Template installer (v3.4) 250 KB Zip file (Updated: 2015-12-09)" (http://www.moodle2word.net/mod/resource/view.php?id=48). This might avoid the Error message.
Note that if you are using Google Chrome, it may warn you about the download too.
I’m running in to an issue when attempting to convert images in an exported file. When I click on “Convert Images” I receive a dialogue box telling me that the “Image Conversion has been disabled to avoid Windows Defender issues”. Upon closing that box I receive another dialogue box telling me that
Error(idp2212255520): This is not a valid file name.
Try one or more of the following:
*Check the path to make sure it was typed correctly
*Select a file from the list of files and folders.
I’m running Windows 10 and Office 2016 however our IT people have set up a virtual desktop for me running Windows 7 and Office 2010, we have the issue in both environments. In an attempt to resolve this issue I have determined through our IT department that we don’t use Windows Defender, it’s turned off entirely. Additionally I have enabled all macros in the Trust Center settings for Word both locally and on the virtual desktop to no avail.
Have you see this issue before? Any thoughts on a work around?
One way to fix this is to simply open and save the questions one by one in the question editor, but it is a tedious job. A better approach is to try and identify the bad question. Try exporting to XML instead, open it in a text editor, and inspect it for possible bad markup.
Thanks for the great plugin. I have been using it now and then to export questions from the question bank and it worked fine every time. Today, one of my colleagues mentioned that he was unable to export some of the categories in the question bank. The file comes out empty. When I tried some categories indeed create an empty file and some work fine. Can you provide more info on what the problem might be? Could it be the size of the categories?
When I import the file, I get this error: 'No questions imported because the language of the labels in the Word file does not match your current Moodle interface language
I'm using an english version of Word (2016) and importing to an english Moodle server. The Macros don't work for me either on Windows or Mac, so I manually created the questions using your template. Do you know what could be causing the problem?
The Word templates already work with Microsoft Word 2016 on Windows. Note that you will need to configure Word to trust digitally signed macros. They don't work with the online Office 365 version of Word though.