Subject Re: Opening an excel file in a dbase program
From Mervyn Bick <invalid@invalid.invalid>
Date Thu, 17 Jun 2021 12:53:36 +0200
Newsgroups dbase.getting-started

On 2021/06/17 10:27, Gaetano D. wrote:

> Here is a little demo of the basics to get you started:
>
>
> *** pre-requisite, Excel must be installed on the machine running the code
> *** in other words, you cannot deploy this code to another machine
> *** if it doesn't have Excel installed
>
......
> //save the workbook and give it a name
> oXL.activeworkbook.saveas("d:\documents\dbase\turnkeys\myOLEworkbook.xlsx")

Being able to read or save to a .xlsx file (which is a compressed
format) is dependent on the version of Excel installed.  If the code is
to be used by others it would be better to stick to .xls files which any
version of Excel should be able to read.

Mervyn.