D
David
I Call the following routine early in a NewMonth() Sub to print out a list
of those folks who are absent the entire month before continuing the
NewMonth() routine:
Sub FilterAbsent()
Dim cell As Range
Application.ScreenUpdating = False
Sheets(5).Activate
With ActiveSheet.UsedRange
..Rows.Hidden = False
For Each cell In .Columns(28).SpecialCells(xlCellTypeFormulas)
If cell.Value > 0 Then cell.EntireRow.Hidden = True
Next cell
End With
ActiveSheet.PrintPreview '<-- I click the Print button in the dialog
Cells.Rows.Hidden = False
End Sub
Is there a way to apply a Footer to appear on this page and then make it go
away before NewMonth() continues?
of those folks who are absent the entire month before continuing the
NewMonth() routine:
Sub FilterAbsent()
Dim cell As Range
Application.ScreenUpdating = False
Sheets(5).Activate
With ActiveSheet.UsedRange
..Rows.Hidden = False
For Each cell In .Columns(28).SpecialCells(xlCellTypeFormulas)
If cell.Value > 0 Then cell.EntireRow.Hidden = True
Next cell
End With
ActiveSheet.PrintPreview '<-- I click the Print button in the dialog
Cells.Rows.Hidden = False
End Sub
Is there a way to apply a Footer to appear on this page and then make it go
away before NewMonth() continues?