R Ron de Bruin Dec 31, 2004 #3 Hi Himszy Try this for the activesheet If Application.CountA(Rows(37)) = 0 Then Rows(37).Delete
B Bob Phillips Dec 31, 2004 #4 If worksheetfunction.counta(Rows("37:37")) = 0 Then Rows(37).entirerow.delete end if -- HTH RP (remove nothere from the email address if mailing direct)
If worksheetfunction.counta(Rows("37:37")) = 0 Then Rows(37).entirerow.delete end if -- HTH RP (remove nothere from the email address if mailing direct)
H Himszy Dec 31, 2004 #5 Bob Phillips said: If worksheetfunction.counta(Rows("37:37")) = 0 Then Rows(37).entirerow.delete end if -- HTH RP (remove nothere from the email address if mailing direct) Click to expand... Relating to this, whats the code for saying that if the cell contans a enter the b to the cell beneath it.
Bob Phillips said: If worksheetfunction.counta(Rows("37:37")) = 0 Then Rows(37).entirerow.delete end if -- HTH RP (remove nothere from the email address if mailing direct) Click to expand... Relating to this, whats the code for saying that if the cell contans a enter the b to the cell beneath it.
T Tom Ogilvy Dec 31, 2004 #6 set theCell = ActiveCell if lcase(theCell.value) = "a" then thecell.offset(1,0).Value = "b" End if