PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
New WINDEV, WEBDEV 24 feature!
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
Prints the current worksheet of a document in "xlsx" or "xls" format.
Example
MyXLSX is string = "c:\temp\Accounts.xlsx"
iPreview()
iPrintXLS(MyXLSX)
Syntax
<Result> = iPrintXLS(<Document>)
<Result>: Boolean
  • True if the document was sent to the print spooler,
  • False otherwise. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Document>: Corresponding type
XLS or XLSX document to print. This document corresponds to:
  • an xlsDocument variable.
  • the path of a Spreadsheet file (XLS or XLSX file).
  • a HFSQL memo corresponding to an XLS or XLSX document.
Remarks
Only the current worksheet of XLS or XLSX document is printed. To print other worksheets, use an xlsDocument variable and change the number of current worksheet via ..Worksheet.
Component : wd240etat.dll
Minimum required version
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment