Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
presence of SOMETHING in a range of cells
Good morning,
How can I put in a simple logic test if a range of cells has anything in them (numbers or text). Say range("a1:a5") the cell A1 has something in it then do this... if range(a1:a5") is empty then do that instead... regards, Michel |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
presence of SOMETHING in a range of cells
If application.counta(range("A1:A5")) 0 Then '... -- HTH RP (remove nothere from the email address if mailing direct) "MD" wrote in message ... Good morning, How can I put in a simple logic test if a range of cells has anything in them (numbers or text). Say range("a1:a5") the cell A1 has something in it then do this... if range(a1:a5") is empty then do that instead... regards, Michel |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I test a range of cells for the presence of a border? | Excel Worksheet Functions | |||
please help me mark their presence. | Excel Worksheet Functions | |||
count their presence | Excel Worksheet Functions | |||
Testing for the presence of an AddIn? | Excel Programming | |||
Need to test for file presence | Excel Programming |