ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / XLS file functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Closes an XLS file.
Example
MyXLSFile is xlsDocument
 
// Open an XLS file
MyXLSFile = xlsOpen("C:\MyDirectories\File.XLS")
...
// Close the XLS file
xlsClose(MyXLSFile)
Syntax

Syntax that is using the xlsDocument type Hide the details

xlsClose(<XLS document>)
<XLS document>: xlsDocument variable
Name of xlsDocument variable corresponding to the XLS file to close. The physical file associated with this variable (if it exists) is closed. The modifications performed in the file will not be saved until it is closed (use xlsSave if necessary).

Syntax kept for backward compatibility with version 12 Hide the details

xlsClose(<XLS file identifier>)
<XLS file identifier>: Integer
Identifier of the XLS file to close, returned by xlsOpen.
Component: wd290xls.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help