I wrote the following codes
Private Sub Workbook_Close()
Application.CommandBars("ply").Enabled = True
End Sub
These code should restore the worksheet tab menu when I close the workbook and
the sheet tab should be present when I open a new workbook.
It still does not do it.
How do I restore the defaults settings in Excel?