Sub SheetNames()
Dim ws As Worksheet
For Each ws In ActiveWorkbook.Worksheets
ws.Name = ws.Range("C1").Value
Next ws
End Sub
I want to enter same worksheet name in cell C1
Sub SheetNameIntoCell_C1()
' hiker95, 11/16/2017, ME1031835
Application.ScreenUpdating = False
Dim ws As Worksheet
For Each ws In ThisWorkbook.Worksheets
ws.Range("C1").Value = ws.Name
Next ws
Application.ScreenUpdating = True
End Sub
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)