Excel的加载项,关于Excel 2007和2010的工作原理 [英] Excel Addin that works on Excel 2007 and 2010
问题描述
我在写一个Excel加载项应在2007年和2010年工作时,我用Visual Studio创建我需要决定我想要哪个版本的新项目。我以前已经选择了2007年,但因为我已经安装了2010,我不能调试。我得到一个错误:
I'm writing an Excel Addin that should work in both 2007 and 2010. When I create a new project with Visual Studio I need to decide which version I want. I've chosen 2007 before, but since I have 2010 installed I can't debug it. I get an error:
您无法调试或运行该项目,
,因为
的Microsft所需版本Office应用程序没有安装
You cannot debug or run this project, because the required version of the Microsft Office application is not installed.
这是我的理解是,如果我2007年目标,我应该能够在运行2007年和2010年这是否正确?如果是这样的话,我可以调试使用2010年,?
It is my understanding that if I target 2007 I should be able to run it on both 2007 and 2010. Is that correct? If that's so, can I debug it using 2010?
推荐答案
您可以通过在2010年Excel中创建的插件继续当你建设该项目,你会得到一个补丁文件,在添加一起,用户可以在安装使用上的Excel 2007在系统中添加之前安装的补丁。
You can go ahead by creating the addin for excel 2010. While you build the project you will get a patch file along with the add in. Users can install the patch before installing the add in on systems using excel 2007.
这篇关于Excel的加载项,关于Excel 2007和2010的工作原理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!