开发者

Loading Excel without Add Ins

开发者 https://www.devze.com 2023-01-03 10:35 出处:网络
All, 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 lo开发者_如何学P

All,

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 lo开发者_如何学Pythonad Excel using command line switches to disable all add-ins ? The question applies to both Excel 2003 and Excel 2007.

Many Thanks,

MK


Actually I have since found the way of doing it:

"Excel /automation"

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

0

精彩评论

暂无评论...
验证码 换一张
取 消