ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Fastest load of new Excel instance (https://www.excelbanter.com/excel-programming/340170-fastest-load-new-excel-instance.html)

Vacation's Over

Fastest load of new Excel instance
 
My VBA project calls its own instance of Excel for "working on stuff".

Is there any method to "fast load" Excel in this case? My laptop can take
5- 7 seconds to boot a new instance of Excel with a template loaded.

Jim Thomlinson[_4_]

Fastest load of new Excel instance
 
Nope every instance is it's own stand alone application with no connection to
any other instances.
--
HTH...

Jim Thomlinson


"Vacation's Over" wrote:

My VBA project calls its own instance of Excel for "working on stuff".

Is there any method to "fast load" Excel in this case? My laptop can take
5- 7 seconds to boot a new instance of Excel with a template loaded.


John.Greenan

Fastest load of new Excel instance
 
You can launch excel from the command line with excel /automation and no add
ins will be loaded - this is usually faster than normal. Try that manually,
if it's faster on your PC then you can try this:

Use the wsh object model for access to a command line and then use the
WshScriptExec.ProcessID property to get the PID of the excel instance
created, then use the win32 api to get that process and use it.

But this is prone to error - you have to grab the right instance of excel -
that is an intermediate/advanced thing to try and do.

Good luck.

--
www.alignment-systems.com


"Vacation's Over" wrote:

My VBA project calls its own instance of Excel for "working on stuff".

Is there any method to "fast load" Excel in this case? My laptop can take
5- 7 seconds to boot a new instance of Excel with a template loaded.



All times are GMT +1. The time now is 04:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com