Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub CheckPrintAreaValues()
Dim ws As Worksheet
Dim rngPrint As Range, rngOdd As Range
Set ws = Sheets("Sheet1")
Set rngPrint = ws.Range(ws.PageSetup.PrintArea)
Set rngOdd = ws.Range("A1", ws.Cells.SpecialCells(xlCellTypeLastCell))
If Application.CountA(rngOdd) <> Application.CountA(rngPrint) Then
MsgBox "you have values outside of your print area on sheet " & ws.Name & "!"
End If
End Sub