I am trying to loop through excel and select rows 1-12 in each worksheet (125 worksheets) in a workbook. But for reasons I dont understand, the code seems to crap out and silently fails after a handful of tabs.
Sub BB_Rows_Selection()
Windows("Production_DataBase.xlsx").Activate
For i = 1 To ThisWorkbook.Sheets.Count
Sheets(i).Activate
With ActiveSheet
Rows("1:12").Select
End With
Next i
MsgBox "All Rows Selected for BB Update."
End Sub