ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / XLS file functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Closes an XLS file.
New in version 2025
Android This function is now available for Android applications.
Android Widget This function is now available in Android widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
MyXLSFile is xlsDocument

// Open an XLS file
MyXLSFile = xlsOpen("C:\MyDirectories\File.XLS")
...
// Close the XLS file
xlsClose(MyXLSFile)
Syntax

Syntax that uses the xlsDocument type Hide the details

xlsClose(<XLS document>)
<XLS document>: xlsDocument variable
Name of the 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: wd300xls.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help