How can we change the name of current worksheet through VBA.
ActiveWorkbook.ActiveSheet.Name = "newname"
Sub WorkSheetNameChange()Worksheets("Sheet2").Name = "New Name"End SubOr you may refer to the sheet by its internal number. But perhaps youshould first read up more about the object model in the VBE Help file.Start by searching for worksheet.
Or you can useWorksheets(x).Name = "new name"where x is the position of the worksheet.