hello,

I have a problem in my MFC class library (VS2003) w.r.t excel automation.

I open an excel file to grab some data and close it. When the user
clicks the button to open another excel file, the file that I previously
used is show in an excel window that opens... (i NEVER want excel to
be visible)

My interface to the excel automation is implimented through a singleton
object.

I think that the focus of excel (even though the visible property is
FALSE) is being propagated to the top when focus is lost on my app
(focus going to the open dialog). Trying to set breakpoints i can see
that the excel window opens before the code to launch the open dialog.

Any hints/tips would be appreciated.

Jamie

Re: Excel automation problem - dialog becomes visible by William

William
Mon Apr 10 12:16:10 CDT 2006

"jamie" <no@address.com> wrote in message
news:3jv_f.1715$fo1.84685@news20.bellglobal.com...
> I have a problem in my MFC class library (VS2003) w.r.t excel automation.

If no one responds here you can try posting again in one of the groups that
focuses on automating Office

microsoft.public.office.developer.*

On the off chance your problem is with MFC itself you can try

microsoft.public.vc.mfc

Regards,
Will



Re: Excel automation problem - dialog becomes visible by jamie

jamie
Mon Apr 10 14:34:14 CDT 2006


> If no one responds here you can try posting again in one of the groups that
> focuses on automating Office
>
> microsoft.public.office.developer.*
>

Thanks William.