Estoy intentando abrir una hoja Excel y que tiene una password, pero me da un error. Estoy haciendo asi:
oExcel := TOleAuto():New( "Excel.Application" )
if Ole2TxtError() # "S_OK"
MsgInfo("EXCEL n茫o est谩 instalado nesta m谩quina."+CRLF+"Imposs铆vel gerar planilha","ATEN脟脙O")
return nil
endif
oExcel:Workbooks:Open( cDirXLS+cArquivoX, , , ,"1111" )Que hago mal?
Gracias,
FWH / xHb / xDevStudio / SQLLIB