Skip to main content
Version: 20 R6 BETA

VP Get sheet name

VP Get sheet name ( vpAreaName : Text ; sheet : Integer ) : Text

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
sheetInteger->Sheet index
Function resultText<-Sheet name

Description

The VP Get sheet name command returns the name of a sheet based on its index in vpAreaName.

In vpAreaName, pass the name of the 4D View Pro area.

In sheet, pass the index of the sheet whose name will be returned.

If the passed sheet index does not exist, the method returns an empty name.

Indexing starts at 0.

Example

Get the name of the third sheet in the document:

$sheetName:=VP Get sheet name("ViewProArea";2)

See also

VP Get sheet index