The OLE control or Automation has returned error (HRESULT).

sabzamsabzam Member Posts: 1,149
The OLE control or Automation has returned error (HRESULT). - 2147352567

Hi Everybody,

has anyone ever encountered this error before?

Comments

  • JanireJanire Member Posts: 31
    Hi!
    I had the same problem and I solved it with this: I had a code comparing if the excel was 2003 version or 2007 version. In the automation values I had 'Microsoft Excel 11.0 Object Library' but I had 2007 Excel by default. Changing the default Excel to 2003 the problem was solved.
  • dburgerdburger Member Posts: 8
    Janire, what do you mean with Changing the default Excel to 2003 the problem was solved? We have a similar problem. On a client with Office 2007 thre is no problem, but on one with Office 2003 we have the same error message.
Sign In or Register to comment.