Hi everyone, anyone have an idea how to make this run faster?
thanks a ton for taking a look and helping out.
sd
Code:
Sub From_ScheduleDashboard_to_ScheduleTool()
Application.ScreenUpdating = False
Sheets("Schedule Tool").Visible = True
Sheets("Schedule Tool").Select
Rows("240:1197").Select
Selection.EntireRow.Hidden = True
Rows("3:239").Select
Selection.EntireRow.Hidden = False
Sheets("Schedule Tool").Range("A1") = "Now Showing: Week 1"
Sheets("Schedule Tool").Range("A2") = Sheets("Labor Budget").Range("B1")
Dim cell As Range
Dim myLastRow As Long
myLastRow = Cells(Rows.Count, "CK").End(xlUp).row
For Each cell In Range("CK5:CK" & myLastRow)
If (cell.Value = "P") Or (cell.Value = "O") Then
cell.EntireRow.Hidden = True
End If
Next
myLastRow = Cells(Rows.Count, "A").End(xlUp).row
For Each cell In Range("A1:A" & myLastRow)
If (cell.Value = " ") And (cell.Formula <> 0) Or Len(cell) = 1 Or Len(cell) = 2 Then
cell.EntireRow.Hidden = True
End If
Next
Range("F5").Select
Application.ScreenUpdating = True
End Sub
thanks a ton for taking a look and helping out.
sd