AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla dinámica
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Creates an Excel file with data from a Pivot Table control.
Ejemplo
sFichier is string

// Construit le nom du fichier
sFichier = SysDir(srAppData) + ["\"] + "StatsParPays.xls"

TCD_Statistiques.VersExcel(sFichier)
ShellExecute(SysDir(srAppData) + ["\"] + "StatsParPays.xls")
Sintaxis
<Result> = <Pivot Table control>.ToExcel(<XLS file> [, <Options>])
<Result>: booleano
  • True if the file was created,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Pivot Table control>: Nombre del control
Name of the Pivot Table control to be used.
<XLS file>: Cadena de caracteres
Name and full path of Excel file to create. The file is replaced with the new file if it already exists.
<Options>: Constante opcional
Configuration of XLS file to create.
taColumnsTitles
(default value)
The title of the columns is inserted in the file.
taNoTitleOnly the data is copied to the file.
taWithLayoutExports the color and font of the Pivot Table control.
Observaciones
  • The Excel files cannot exceed 65536 rows and 256 columns if the extension used is ".xls". This limit can be exceeded by using the ".xlsx" extension in order to create files in Excel 2007 format. Please note: in this case, older versions of Excel will need to be equipped with the "Office 2007 Compatibility Pack", which can be downloaded free of charge from the Microsoft website, in order to be able to open the generated documents.
  • The created file can be opened by Excel 97 (or later) or by OpenOffice Calc 2 (or later).
Componente: wd300xls.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

Señalar un error o enviar una sugerencia | Ayuda local