What I have given is a library of several functions. (it is true that, read permiere times, it's been scary, but it's pretty simple definitive)
One can very well read and close the file without saving.
For example with Excel
(setq Mon_Appli (lancer_excel)) ; --> #<VLA-OBJECT _Application 00000000301e8f58>
(setq Mon_Classeur (ouvrir_fichier Mon_Appli "c:\\Test\\Classeur1.xls")) ; --> #<VLA-OBJECT Sheets 00000000301e8fc8>
(setq Ma_Feuille (feuille_active Mon_Classeur)) --> "Feuil1"
If it's not "Feuil1" and i want activate "Feuil1"
(activer_feuille Mon_classeur "Feuil1") ; --> T , it's OK
To read cell "A1" in "Feuil1"
(lire_cellule Mon_Classeur "Feuil1" "A1") ; --> Return value
Close file
(fermer_fichier Mon_Classeur)
Close Excel
(fermer_appli (list Mon_Appli Mon_Classeur))
You have the same functions to work with Openoffice / Libreoffice.
There is just the first function to determine choose to work with.
@+