View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Richardb Richardb is offline
external usenet poster
 
Posts: 12
Default Excel 2003 vsto 2005 vb.net - ThisAddIn_Startup problem

Hello,

I have an add-in that works well and executes the me.startup event perfectly
when Excel is started manually.

If Excel is started by double clicking an .xls file, the add-in fails to
start and becomes disabled. The xls file then loads. I can re-enable the
add-in and it executes me.starup fine.

I found that when I strip much code back in me.startup the add-in can start
sucessfully when double clicking an .xls file to open Excel.

There does not appear to be any 'offending code' that causes the problem, it
appears to be more along the line of timing.

Thanks for considering this problem.