Vai al contenuto principale

ExcelGetCurrentSheetName

Struttura

ExcelGetCurrentSheetName

Tipo

Funzione

Descrizione

Questa funzione restituisce il nome del foglio corrente sotto forma di stringa.

Parametri: 0

Esempio

Prova

ExcelNewFile(3, "v2003")

ShowMessage(ExcelGetSheetCount) 'visualizza 3

ExcelGetSheetByIndex(1)

ShowMessage(ExcelGetCurrentSheetName) 'visualizza "Foglio1"

Tranne che

ShowMessage(LastExceptionMessage)

Fine del tentativo