简体   繁体   English

如何指示excel在启动时自动执行我的.xla文件?

[英]How can I instruct excel to execute my .xla file automatically on startup?

I have a .xla located at C:\\Program Files\\Microsoft Office\\Office14\\excel-udf-concat.xla that I need to execute upon start up 我在启动时需要执行的C:\\ Program Files \\ Microsoft Office \\ Office14 \\ excel-udf-concat.xla中有一个.xla

At the moment I must load excel first and then manually execute that file, sometimes I forget to do this and my formula does not get executed! 目前,我必须先加载excel,然后手动执行该文件,有时我忘了这样做,并且我的公式无法执行!

Is there a way to instruct excel to do this? 有没有办法指导excel做到这一点?

Add it to the Excel addins list: File-->Options-->Addins-->XL Addins-->Browse. 将其添加到Excel加载项列表:File-> Options-> Addins-> XL Addins-> Browse。

That will make your addin open automatically. 这将使您的插件自动打开。 If you want it to run a sub when it opens just add the appropriate code to its Workbook_Open event 如果希望它在打开时运行子程序,只需将适当的代码添加到其Workbook_Open事件中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM