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.