Error trying to open an Excel file

0

I'm trying to open a document in excel via vbScript. I am not succeeding at execution, running is generated the following error, without description:

  

-2147417851

The problem occurs when you run the following command:

Set objExcel = CreateObject("Excel.Application")    
Set objWorkbook = objExcel.Workbooks.Open (Caminho)

Remarks:

I'm trying to access a file on the network.

    
asked by anonymous 11.10.2017 / 15:06

0 answers