Hi all !!

Can anyone help me out !!!

How to determine if the excel application is opened (or running) through Internet Explorer. Actually have created excel add-ins using VBA, have written a function on On_Connection event which fires when excel instance is invoked (i.e, when excel application is opened), now, the function in the On_connection event should not fire if a excel file is opened through IE.

The function in On_Connection event is fired only if the excel file is directly opened through Excel Application.

How do we determine if the excel application is invoked through IE ? Need VB code to determine this ??

Expecting some solution

Thanks in advance.