此命令不可用,因为没有文档打开。在Microsoft.Office.Interop.Word [英] This command is not available because no document is open. at Microsoft.Office.Interop.Word
本文介绍了此命令不可用,因为没有文档打开。在Microsoft.Office.Interop.Word的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将ms字转换为html页面。
但我收到的错误如下。任何人都可以帮我解决这个问题。
我的服务器上还有ms office 2007的许可证。
这个命令不可用因为没有文件是开放的。在Microsoft.Office.Interop.Word
找出我正在使用的所有编码,请在下面找到链接
qhengineerszone.com/ja.aspx
I am trying to convert ms word to html page.
but i got error as below. can anybody help me to solve this problem.
I have also licence of ms office 2007 in my server.
This command is not available because no document is open. at Microsoft.Office.Interop.Word
Find out all coding which i am using please find below link
qhengineerszone.com/ja.aspx
推荐答案
使用第三方组件或 Open XML SDK [ ^ ]。
参考 - 使用Open XML SDK 2.0将Open XML WordprocessingML转换为XHTML [ ^ ]。
Either do these things using third party components or Open XML SDK[^].
Refer - Transforming Open XML WordprocessingML to XHTML Using the Open XML SDK 2.0[^].
这篇关于此命令不可用,因为没有文档打开。在Microsoft.Office.Interop.Word的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文