EXCEL_FILE_CLOSE N

FERME LE FICHIER (FEUILLE) NUMÉRO N PAR MICROSOFT EXCEL



ACTION

La commande EXCEL_FILE_CLOSE N ferme un fichier ouvert avec le logiciel Microsoft Excel, s'il est en fonction.

N est le numéro du fichier EXCEL.

Le numéro N se libère et peut être réutilisé.


SYNTAXE : EXCEL_FILE_CLOSE N


UTILISATION


ERREUR


EXEMPLE

' lancer le logiciel Excel

excel_start

' attendre 5 secondes

wait 5000

' ouvrir un fichier existant

excel_file_open 1,"MonFichier.xls"

' attendre 5 secondes

wait 5000

' fermer ce fichier

excel_file_close 1

' arrêter le logiciel Excel

excel_stop


EN RAPPORT

EXCEL_START

EXCEL_STOP

EXCEL_FILE_NEW

EXCEL_FILE_OPEN

EXCEL_WRITE

EXCEL_READ$()


Content created by Jack. Updated March 07, 2025