Office应用程序停止工作! [英] Office app stopped working!

查看:100
本文介绍了Office应用程序停止工作!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天前我们所有的应用方法  setSelectedDataAsync开始使用Error 2003:" 选择了
单个单元格,提供的数据对象将覆盖工作表中的数据。
"但在桌面版中我们没有这样的错误,仅在浏览器中。此外,在此之前我们没有做出任何改变。并且msdn中没有关于setSelectedDataAsync中
更改的信息。

Few days ago in all our apps method setSelectedDataAsync started working with Error 2003: "A single cell is selected and the supplied data object overwrites data in the worksheet." But in desktop we don't have such error, only in browsers. Also, we hadn't made any changes before that happened. And there is no information in msdn about changes in setSelectedDataAsync.

可能有人知道如何解决它? 

May be anybody know about how can I solve it? 

推荐答案

嗨伊丽莎白,

Hi Elizabeth,

如果你有帮助可以与我们分享您的代码和步骤来重现您的问题。

It would be helpful if you could share us your code and steps to reproduce your issue.

我使用此方法进行了测试,但我无法像您那样得到相同的错误。作为我的测试,如果在包含数据的区域中将setSelectedDataAsync与表类型一起使用,则会产生错误。它会告诉我们一些数据会被覆盖。如果
您的问题与此类似,我认为您需要在设置数据之前删除单元格的内容。

I made a test with this method, but I could not get the same error like yours. As my test, if you use setSelectedDataAsync with a table type in an area which has contains data, it would generate error. It would tell us some data would be overwritten. If your issue is similar like this, I think you need to delete the content of the cells before you set data.

最好的问候,

Best Regards,

Edward


这篇关于Office应用程序停止工作!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆