Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default xlAutoOpen and GetActiveObject

Hey,
GetActiveObject() to get the running excel instance does not work
from xlAutoOpen since excel is not registered yet as running. Is there
another function to call to get the IUnknown or IDispatch for excel or
is there another entry point I need to define where GetActiveObject()
will work?

Omri

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default xlAutoOpen and GetActiveObject

Change auto_open to workbook_open.
*******************
~Anne Troy

www.piersontech.com
www.mrexcel.com


wrote in message
ups.com...
Hey,
GetActiveObject() to get the running excel instance does not work
from xlAutoOpen since excel is not registered yet as running. Is there
another function to call to get the IUnknown or IDispatch for excel or
is there another entry point I need to define where GetActiveObject()
will work?

Omri



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"