General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Open Word Document, how to filter docx
-
KdG January 19, 2016 at 10:20 am
Open Word Document, how to filter docx
January 19, 2016 at 10:20 amParticipants 1Replies 0Last Activity 7 years, 2 months agoI am developing with XMetaL Author Essential 10
The “Open Word Document” macro in the journalist sample gives me in the open dialog the default option to open *.doc and *.rft files.
I work with Office 2010 and would like to open *.docx files.
Opening docx works fine, but I first have to select “All Files” from the filter dropdown list.In the macro there are the lines calling the opening dialog:
Set fileopen = CreateObject( “xmWdExc.WordOpen”)
fileopen.initialDir = myWordDirIs there a method I can add to the filter like?
fileopen.Filter = “txt files (*.docx)|*.doc|All files (*.*)|*.*”Is there any documentation on the methods and properties of the xmWdExc object?
Regards,
Kees -
AuthorPosts
- You must be logged in to reply to this topic.