加载Excel而不添加插件 [英] Loading Excel without Add Ins
本文介绍了加载Excel而不添加插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
全部
我写了一个电子表格应用程序,用户通过双击我提供的图标来加载它。问题是用户有很多加载Excel可以减慢速度。有人可以使用命令行开关来加载Excel来禁用所有加载项?这个问题适用于Excel 2003和Excel 2007。
I wrote a spreadsheet application which users load it by doubleclicking an icon I provide them. The problem is users have a lot of addins which slow Excel down. How can someone load Excel using command line switches to disable all add-ins ? The question applies to both Excel 2003 and Excel 2007.
非常感谢,
MK
推荐答案
实际上我已经找到了这样做:
Actually I have since found the way of doing it:
Excel / automation
"Excel /automation"
还使用JavaScript:
Also using JavaScript:
var workingDirectory = WScript.CreateObject("WScript.Shell").CurrentDirectory;
var x = new ActiveXObject("Excel.Application");
x.Visible = -1;
x.Interactive = -1;
x.Workbooks.Add();
Rgds,
MK
这篇关于加载Excel而不添加插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文