Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
If there are no values in row 37 delete it
Hi
How do I write a code that says that. Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
If there are no values in row 37 delete it
Hi
see: http://www.cpearson.com/excel/deleti...eleteBlankRows -- Regards Frank Kabel Frankfurt, Germany "Himszy" schrieb im Newsbeitrag . .. Hi How do I write a code that says that. Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
If there are no values in row 37 delete it
Hi Himszy
Try this for the activesheet If Application.CountA(Rows(37)) = 0 Then Rows(37).Delete -- Regards Ron de Bruin http://www.rondebruin.nl "Himszy" wrote in message . .. Hi How do I write a code that says that. Thanks |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
If there are no values in row 37 delete it
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) "Himszy" wrote in message . .. Hi How do I write a code that says that. Thanks |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
If there are no values in row 37 delete it
"Bob Phillips" wrote in message ... 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) "Himszy" wrote in message . .. Hi How do I write a code that says that. Thanks Relating to this, whats the code for saying that if the cell contans a enter the b to the cell beneath it. |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
If there are no values in row 37 delete it
set theCell = ActiveCell
if lcase(theCell.value) = "a" then thecell.offset(1,0).Value = "b" End if -- Regards, Tom Ogilvy "Himszy" wrote in message . .. "Bob Phillips" wrote in message ... 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) "Himszy" wrote in message . .. Hi How do I write a code that says that. Thanks Relating to this, whats the code for saying that if the cell contans a enter the b to the cell beneath it. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete all zero values | Excel Discussion (Misc queries) | |||
delete the test values, but do not delete the formulas | Excel Discussion (Misc queries) | |||
Delete duplicate values | Excel Discussion (Misc queries) | |||
delete all values in column? | Excel Worksheet Functions | |||
Delete row containing all previous values. | New Users to Excel |