应用条件格式化后,Excel 2007拒绝了粗体命令

我有一个与Excel(2007)电子表格交互的AutoHotkey脚本。 它执行以下操作:input条目,在条目中select性地加粗字,移动到第二个单元格并input另一个条目,移到第三个单元格并停止。

这完美的工作,但第二个单元格包含偶尔由第二个条目触发的条件格式。 任何时候格式都被触发,Excel将开始拒绝select性的粗体。 我曾尝试使用长时间睡眠和SetKeyDelay时间无济于事。

当我做慢testing运行,它看起来像大胆的风格正在申请,并保持在Excel退出“编辑模式”后。 由于某种原因,在“发送{右边3}”到“顶部”select“单元格”开始时失败。 我无法用手动input复制错误。

有谁知道发生了什么? 谢谢!

:*:007\:: send XXX!{enter}Hooligan!{enter}007 send {F2}+{left 4}^b ; enter Edit Mode and bold end number send {left 1}+{left 8}^b{F2} ; bold name and exit Edit Mode send {right 3} ; go to top 'choice' cell send {enter} ; down to 'option' cell send {enter}{right 11} ; down 1, move to code cell send 999!{enter}XX9999 send {enter}{up 2}{down}{left 14} return 

事实certificate,Excel的自动完成function是克隆以前的条目,并破坏格式。 自动填充function被禁用后,所有事情都开始正常工作。