Excel automation problem

A

ARHangel

I have Office 2007 installed on my machine and i use com automation.

If i run the method OleRun on a excel file(2003 or 2007) the excel process
is opened but not visible (the expected result)

But if i run the method OleRun on a excel file that contains a module(it
doesn't even have to contain code)(2003 or 2007) the excel process is opened
and visible(not expected)

The reason I call the OleRun method is because I want to call the method
IViewObject.GetExtent

Is there a way to do this but without making the excel visible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top