Don't understand how macro can run in step mode but not when I run it:
Sub PrintAllSheets()
Dim wb As Workbook, sht As Object
For Each wb In Excel.Workbooks
For Each sht In wb.Sheets
sht.Activate
ActiveSheet.Range("$AU$14:$AU$144").AutoFilter Field:=1, Criteria1:="1.00"
sht.PrintOut
Next sht
Next wb
End Sub
Has anyone had this happen?
Sub PrintAllSheets()
Dim wb As Workbook, sht As Object
For Each wb In Excel.Workbooks
For Each sht In wb.Sheets
sht.Activate
ActiveSheet.Range("$AU$14:$AU$144").AutoFilter Field:=1, Criteria1:="1.00"
sht.PrintOut
Next sht
Next wb
End Sub
Has anyone had this happen?