AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de archivos XLS
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
<xlsDocument variable>.GetMerge (Function)
In french: <Variable xlsDocument>.RécupèreFusion
Determines if a cell is merged with other cells and gets the merged cell range.
Example
MyXLSDocument is xlsDocument
 
sMerge is string = MyXLSDocument.GetMerge("B1")
IF sMerge = "" THEN
Info("No merge")
ELSE
sMin is string = sMerge.ExtractString(1, ":")
sMax is string = sMerge.ExtractString(2, ":")
Info("Merge between " + sMin + " and " +  sMax)
END
Syntax

Getting the merged cell range containing a cell identified by row and column Hide the details

<Result> = <Excel document>.GetMerge(<Cell row> , <Cell column>)
<Result>: Character string
  • Empty string ("") if the specified cell is not merged,
  • Merged cell range in the following format: "<Name top left cell>:<Name bottom right cell>".
    For example: "A2:C5".
<Excel document>: xlsDocument variable
Name of the variable of type xlsDocument to be used.
<Cell row>: Integer
Row number of the specified cell.
<Cell column>: Integer
Column number of the specified cell.

Getting the merged cell range containing a cell identified by its name Hide the details

<Result> = <Excel document>.GetMerge(<Cell>)
<Result>: Character string
  • Empty string ("") if the specified cell is not merged,
  • Merged cell range in the following format: "<Name top left cell>:<Name bottom right cell>".
    For example: "A2:C5"
<Excel document>: xlsDocument variable
Name of the variable of type xlsDocument to be used.
<Cell>: Character string
Name of the cell to be used. For example: "A4".
Component: wd290xls.dll
Versión mínima requerida
  • Versión 28
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/06/2023

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