【发布时间】:2012-04-02 13:51:34
【问题描述】:
当我在 C# 中导出到 Excel 时,我想替换一些字符串,例如 %find%。
如果替换返回 null,例如'there are no string like %find%' 它总是会弹出一个对话框,告诉我找不到替换。
如何隐藏弹出的对话框?
**My replace method is:`xSheet.Cells.Replace(strong textwhat, replace);`
【问题讨论】:
当我在 C# 中导出到 Excel 时,我想替换一些字符串,例如 %find%。
如果替换返回 null,例如'there are no string like %find%' 它总是会弹出一个对话框,告诉我找不到替换。
如何隐藏弹出的对话框?
**My replace method is:`xSheet.Cells.Replace(strong textwhat, replace);`
【问题讨论】: