Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Identify blanks
I have multiple cells (C5,D7,R45,S77,T79...) that should contain data input
by user. I need to identify those cells where no data was entered to alert the user. Can someone give me an idea of how to write this code? Thanks. -- Regards, |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Identify blanks
Perhaps:
Sub dural() ll = Array("C5", "D7", "R45", "S77", "T79") For i = 0 To 4 If IsEmpty(Range(ll(i))) Then MsgBox ("cell " & Range(ll(i)).Address & " needs to be filled") End If Next End Sub Alternatively you can construct a range of dis-joint cells and loop over it. -- Gary''s Student - gsnu200764 "JJM" wrote: I have multiple cells (C5,D7,R45,S77,T79...) that should contain data input by user. I need to identify those cells where no data was entered to alert the user. Can someone give me an idea of how to write this code? Thanks. -- Regards, |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Identify blanks
Great! Thanks!
-- Regards, "Gary''s Student" wrote: Perhaps: Sub dural() ll = Array("C5", "D7", "R45", "S77", "T79") For i = 0 To 4 If IsEmpty(Range(ll(i))) Then MsgBox ("cell " & Range(ll(i)).Address & " needs to be filled") End If Next End Sub Alternatively you can construct a range of dis-joint cells and loop over it. -- Gary''s Student - gsnu200764 "JJM" wrote: I have multiple cells (C5,D7,R45,S77,T79...) that should contain data input by user. I need to identify those cells where no data was entered to alert the user. Can someone give me an idea of how to write this code? Thanks. -- Regards, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Identify Blanks; All Listed in Column AX | Excel Programming | |||
Sumproduct copying blanks or how to insert zero into blanks | Excel Worksheet Functions | |||
copy range of cells with blanks then paste without blanks | Excel Programming | |||
copy range of cells with blanks then paste without blanks | Excel Worksheet Functions | |||
Paste Special Skip Blanks not skipping blanks, but overwriting... | Excel Discussion (Misc queries) |