View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ARHangel ARHangel is offline
external usenet poster
 
Posts: 24
Default Excel automation problem

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.