Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
We have an Excel add-in. We would like to know if the application is started
from the menu by the user or started by another Office application. Is using the ConnectMode parameter in the OnConnection call the best way to do this? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Gail,
Gail Hurn wrote: We have an Excel add-in. We would like to know if the application is started from the menu by the user or started by another Office application. Is using the ConnectMode parameter in the OnConnection call the best way to do this? Not sure this will help, but look at the UserControl property of the Application object. Note that this will only give you a definitive answer if the app was created programmatically AND is hidden. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks! That worked perfect.
"Jake Marx" wrote: Hi Gail, Gail Hurn wrote: We have an Excel add-in. We would like to know if the application is started from the menu by the user or started by another Office application. Is using the ConnectMode parameter in the OnConnection call the best way to do this? Not sure this will help, but look at the UserControl property of the Application object. Note that this will only give you a definitive answer if the app was created programmatically AND is hidden. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to determine what application launched Excel?
Thanks, Gail "Jake Marx" wrote: Hi Gail, Gail Hurn wrote: We have an Excel add-in. We would like to know if the application is started from the menu by the user or started by another Office application. Is using the ConnectMode parameter in the OnConnection call the best way to do this? Not sure this will help, but look at the UserControl property of the Application object. Note that this will only give you a definitive answer if the app was created programmatically AND is hidden. -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel comes up gray screen when first launched | Excel Discussion (Misc queries) | |||
Excel minimizes when a linked file launched | Excel Discussion (Misc queries) | |||
XLSSTART\ does not works when Excel is launched from other application | Excel Discussion (Misc queries) | |||
Auto-displaying a template when Excel is launched | Excel Discussion (Misc queries) | |||
stop highlighting cells when launched | Excel Discussion (Misc queries) |