Loading of Addin when filename is passed as a parameter

Ranjana

New Member
Joined
Nov 11, 2011
Messages
1
I have a COM addin that is configured with in the registry with loadbehaviour=3 (load on start up)

If "C:\Program Files\Microsoft Office\Office14\EXCEL.EXE" /dde <filename>
is executed in the command line, the file contents are displayed first and then the add-in is loaded after that.

Also, if
"C:\Program Files\Microsoft Office\Office14\EXCEL.EXE" <filename>
is executed in the command line, the file contents are displayed first and then the add-in is loaded after that.

However, when a excel file is double clicked, the addin is loaded first and then the excel file contents are displayed.

Is there any way to ensure that the addin is loaded first and then the file contents are displayed in excel when the file is opened from command line.
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,196,280
Messages
6,014,426
Members
441,818
Latest member
itsfaisalkhalid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top