How about: If Not IsNumeric(NoOfPages) Then Regards
If Not IsNumeric(NoOfPages) Then
Last edited by Aussiebear; 03-30-2023 at 02:21 PM. Reason: Adjusted the code tags
Forum Rules