Page 1 of 1

Open Excel file with TOleAuto() - parameters

Posted: Sat Mar 06, 2021 10:18 pm
by hidroxid
Hi All,

How to send parameters to Open() method of Excel:Workbooks?

The sintaxis for the command is:

:Open (FileName, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru, Local, CorruptLoad)

I need send UpdateLinks with .F. and ReadOnly with .T.

Thanks in advance

Re: Open Excel file with TOleAuto() - parameters

Posted: Sun Mar 07, 2021 10:50 am
by Enrico Maria Giordano
Try

Code: Select all | Expand

oExcel:WorkBooks:Open( cFileName, .F., .T. )


EMG