Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How do I determine how excel was launched
I have a file in my XLSTART directory with an Auto_Open macro in it that
obviously runs everytime I start Excel. But I need it to do different things depending upon how Excel was started so I'm looking to determine this within the VBA code. I look at start method 1 as being Excel was selected in the Start Menu (or quick launch or desktop, etc) so it starts without opening a user selected file. And start method 2 was when an excel file was double clicked within windows explorer (or as mail attachment etc) such that the user selected file opens with the Excel startup Any help would be appreciated. Thank You |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
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) | |||
Can you tell how Excel is launched? | Excel Programming |