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 / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
The WorksheetName property is used to get or change the name of the current worksheet in a Spreadsheet control.
Reminder If the Spreadsheet control manages multiple worksheets, the name of the worksheet appears in the worksheet selection tab (at the bottom of the Spreadsheet control).
Ejemplo
// Finds out whether a worksheet is named "US_Stat"
FOR I = 1 TO PSHEET_MySpreadsheet.NbWorksheet
	PSHEET_MySpreadsheet.CurrentWorksheet = I
	IF PSHEET_MySpreadsheet.WorksheetName = "US_Stat" THEN
		RETURN I // Worksheet found
	END
END
// Worksheet not found
RETURN 0
Sintaxis

Getting the name of the current worksheet Ocultar los detalles

<Result> = <Spreadsheet control>.WorksheetName
<Result>: Character string
Name of the current worksheet in the Spreadsheet control.
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.

Modifying the name of the current worksheet Ocultar los detalles

<Spreadsheet control>.WorksheetName = <New name>
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.
<New name>: Character string
New name for the worksheet. The maximum size of this name is 32 characters.
Versión mínima requerida
  • Versión 20
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

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