'您粘贴的范围包含无法粘贴到此excel实例中的公式。 [英] 'The range you are pasting contains formulas that cannot be pasted into this instance of excel.'

查看:6037
本文介绍了'您粘贴的范围包含无法粘贴到此excel实例中的公式。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下代码

Microsoft.Office.Interop.Excel。

Microsoft.Office.Interop.Excel.

sheet = sourceWorkBook.ActiveSheet;

sheet = sourceWorkBook.ActiveSheet;

sheet.Paste(destinationRange,Type.Missing) );

sheet.Paste(destinationRange, Type.Missing);

它在2007年的办公室工作正常。但在办公室2010我收到以下警告:

It works fine in office 2007.But in office 2010 I get the following alert:

'您粘贴的范围包含无法粘贴到此Excel实例中的公式。'

怎么能我解决了这个问题?

推荐答案

嗨Ams16,

Hi Ams16,

感谢您发帖。

阅读完您的帖子后,我对您的问题做了一些研究。当打开多个实例时,通常会发生问题,我们无法在不同的Excel实例之间粘贴Excel公式,请参阅以下文章:

After reading your post, I did some research about your problem. The problem usually happens when more that one instances is opened, we can't paste the Excel formula between the different Excel instances, plase refer to the following articles:

http://support.microsoft.com/kb/917637

http://www.utteraccess.com/forum/lofiversion/index.php/t1549646.html

http://www.mrexcel.com/forum/showthread.php?t=609003

您可以尝试在同一个Excel应用程序中打开这两个工作簿。

http://support.microsoft.com/kb/917637
http://www.utteraccess.com/forum/lofiversion/index.php/t1549646.html
http://www.mrexcel.com/forum/showthread.php?t=609003
You can try to open the two workbooks in the same Excel application.

希望这可以帮助您,并在您尝试后随时跟进。

Hope this can help you and just feel free to follow up after you have tried.

最好的问候,


这篇关于'您粘贴的范围包含无法粘贴到此excel实例中的公式。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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