K Ken Wright Feb 25, 2005 #2 Worksheet function - =COUNTA(A:A)=0 Code - ? application.WorksheetFunction.CountA(sheets("sheet1").range("A:A"))
Worksheet function - =COUNTA(A:A)=0 Code - ? application.WorksheetFunction.CountA(sheets("sheet1").range("A:A"))
R Ron de Bruin Feb 25, 2005 #3 Hi Henry Try this for the activecell row If Application.CountA(Rows(ActiveCell.Row)) = 0 Then _ MsgBox "Row " & ActiveCell.Row & " Is empty"
Hi Henry Try this for the activecell row If Application.CountA(Rows(ActiveCell.Row)) = 0 Then _ MsgBox "Row " & ActiveCell.Row & " Is empty"
B Bernard Liengme Feb 25, 2005 #4 COUNTA(A:A) will return 0 is column A is empty COUNTA(10:10) will return 0 is row 10 is empty best wishes
COUNTA(A:A) will return 0 is column A is empty COUNTA(10:10) will return 0 is row 10 is empty best wishes