I have code to insert the sheet name into a field of each sheet (there are 80+ sheets).
I would like to insert the sheet name to a cell and fill down to the last row of each sheet.
I get errors:
Sub nameSheet()
For Each x In Worksheets
x.Range("F2" & LastRow) = x.Name
Next x
End Sub