Syntax
| XLS.RenameWorkSheet [shName], NewShName
| ||||||
---|---|---|---|---|---|---|---|
Description
| Renames a worksheet in the active workbook.
| ||||||
See Also
| |||||||
Example
| Sub Main
Dim mySheets() As String
Dim x As Integer
If Not XLS.AppInit() Then Exit Sub
XLS.AppVisible = True
XLS.AddWorkBook
XLS.AddWorkSheet "Test1"
XLS.AddWorkSheet "Test2"
XLS.AddWorkSheet "Test3"
XLS.AddWorkSheet "Test4"
XLS.RenameWorkSheet "Test2", "Hernoemd2"
XLS.AppClose
End Sub
|