ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   check for empty cell (https://www.excelbanter.com/excel-programming/388626-check-empty-cell.html)

ingalla

check for empty cell
 
I need to ckeck if a cell contains a value or if it is empty. If there is
noting in the cell then a msg box needs to be displayed.

JE McGimpsey

check for empty cell
 
One way:

If IsEmpty(Range("A1").Value) Then _
MsgBox "Cell A1 is empty."

In article ,
ingalla wrote:

I need to ckeck if a cell contains a value or if it is empty. If there is
noting in the cell then a msg box needs to be displayed.



All times are GMT +1. The time now is 03:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com