# 求助：图片版mdx源文件生成工具 有时无法使用

**URL:** <https://forum.freemdict.com/t/topic/10747>\
**Category:** 技术交流与词典编修\
**Created:** [2022 年1 月 25 日 07:38 UTC](https://forum.freemdict.com/t/topic/10747 "2022-01-25T07:38:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

作者： ![hanhteegs](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hanhteegs/32/26414_2.png) [@hanhteegs](https://forum.freemdict.com/u/hanhteegs)\
发布日期： [2022 年1 月 25 日 07:38 UTC](https://forum.freemdict.com/t/topic/10747/1 "2022-01-25T07:38:59Z")

</div>

图片版mdx源文件生成工具 有时无法使用，填好了相关的内容之后，点击转换，弹出来的mdxbuilder里面的内容是空白的，一直比较影响使用，求帮助

 ![QQ截图20220125144129](https://forumcdn.freemdict.com/uploads/default/original/3X/d/f/df3d1959be84cb957ca18b50b0887a429a86e7d1.png)

---

<div class="post-metadata">

作者： ![shaoshi](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/shaoshi/32/14529_2.png) [@shaoshi](https://forum.freemdict.com/u/shaoshi)\
发布日期： [2022 年2 月 2 日 00:30 UTC](https://forum.freemdict.com/t/topic/10747/2 "2022-02-02T00:30:00Z")

</div>

我没用过这个Excel VBA工具，所以只能猜测。

我猜测你贴在Excel里的内容有些东西，干扰了程式的运行。

把文本看一遍，检查有没有乱码。我自己写的小程式曾经因为乱码、日本字等而呛着。

假如一下子没找到，分段贴文本，看是哪一部分让程式呛着了。

我不知道line break是否问题，假如是line break的问题，可以用Excel公式清除：=SUBSTITUTE(A2,CHAR(10),“”)

有报错的讯息吗？你应该把报错的讯息贴出来。

程式作者也可能用On Error Resume Next压制了报错讯息。

假如你能看到源码，暂时在“On Error Resume Next”前面加“'”，把这行源码当成评语不执行，再运行程式，看报错讯息是什么。

---

<div class="post-metadata">

作者： ![hanhteegs](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hanhteegs/32/26414_2.png) [@hanhteegs](https://forum.freemdict.com/u/hanhteegs)\
发布日期： [2022 年2 月 7 日 11:10 UTC](https://forum.freemdict.com/t/topic/10747/3 "2022-02-07T11:10:32Z")

</div>

多谢，应该是词条内容的格式有误，变成文本格式，就恢复正常了

---

<div class="post-metadata">

作者： ![shaoshi](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/shaoshi/32/14529_2.png) [@shaoshi](https://forum.freemdict.com/u/shaoshi)\
发布日期： [2022 年2 月 7 日 11:39 UTC](https://forum.freemdict.com/t/topic/10747/4 "2022-02-07T11:39:17Z")

</div>

所以粘贴资料进Excel时，应该打开选项，选择粘贴纯文本。

假如没打开选项，自动粘贴，把另一个文本隐含的格式也粘贴进Excel，就会出问题。

---

<div class="post-metadata">

作者： ![hanhteegs](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hanhteegs/32/26414_2.png) [@hanhteegs](https://forum.freemdict.com/u/hanhteegs)\
发布日期： [2022 年2 月 7 日 12:24 UTC](https://forum.freemdict.com/t/topic/10747/5 "2022-02-07T12:24:07Z")

</div>

我还以为是我的电脑有问题，太感谢您了
