Try this version - You can specify the sheet names to run the macro against in this line
If Sheets(i).Name = "Sheet3" Or Sheets(i).Name = "Sheet13" Then
Sub doStuff()
Dim bRow As Long, strWeek As String, i As Integer
strWeek = Application.InputBox("Week please")
For i = 1 To Sheets.Count
If Sheets(i).Name = "Sheet3" Or Sheets(i).Name = "Sheet13" Then
With Sheets(i)
.Rows("1:6").EntireRow.Delete
bRow = Cells(1, 1).End(xlDown).Row
.Rows(bRow + 1 & ":" & Rows.Count).EntireRow.Delete
.Columns(2).Insert
.Range("B1") = "Week"
.Range("b2:b" & bRow) = strWeek
End With
End If
Next
End Sub
Bookmarks