Aller au contenu principal
Version: Next

VP SET SHEET NAME

VP SET SHEET NAME ( vpAreaName : Text ; name : Text {; sheet: Integer} )

ParamètresTypeDescription
vpAreaNameText->Nom d'objet formulaire zone 4D View Pro
nameText->Nouveau nom de la feuille
sheetInteger->Index of the sheet to be renamed

Description

The VP SET SHEET NAME command renames a sheet in the document loaded in vpAreaName.

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

In name, pass a new name for the sheet.

In sheet, pass the index of the sheet to rename.

La numérotation démarre à 0.

If no sheet is passed, the command renames the current sheet.

The new name cannot contain the following characters: *, :, [, ], ?,\,/

La commande ne fait rien si :

  • le nouveau nom contient des caractères interdits
  • la valeur du nouveau nom est vide
  • le nouveau nom existe déjà
  • the passed sheet index does not exist

Exemple

Le nom de la troisième feuille est "Total premier trimestre" :

VP SET SHEET NAME("ViewProArea";"Total first quarter";2)