![]()
If WorksheetFunction.CountIf(Range("C3:G13"), ">17") Then MsgBox "One of the cell values is greater than 17" End If
![]()
If WorksheetFunction.CountIf(Range("C3:G13"), ">17") Then MsgBox "One of the cell values is greater than 17" End If
Palmetto
Do you know . . . ?
You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.
Hi Palmetto
Thanks for replying so quick but the code doesn't do anything, no errors etc and no messages come up when one of the cells in the range is greater then 17.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks