PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
xlsNbRows (Function)
In French: xlsNbLignes
xlsNbRows is kept for backward compatibility.
In this version, use xlsNbRow.
The documentation for xlsNbRows available in WINDEV 5.5 is as follows.
 
Purpose
Finding out the number of rows in an XLS file.
Syntax (using the xlsDocument type)
<Result> = xlsNbRows(<XLS Document>)
  • <Result> is an integer.
  • <XLS Document> is the name of the xlsDocument variable corresponding to the XLS file to use.
Syntax (version 12 compatibility)
<Result> = xlsNbRows(<FileNum>)
  • <Result> is an integer.
  • <FileNum> is an integer containing the file identifier returned by xlsOpen.
Details
xlsNbRows returns:
  • the number of rows in an XLS file: The empty rows are ignored.
  • -1 if an error occurred: xlsError returns the error details
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment