Jump to content

Recommended Posts


Posted

Excel Macro:

'look at the value of the current cell for value of zero.  
'If not on the current cell the use range("A1").value,
'where A1 is the cell with the value you wish to check

if activecell.value=0 then
'Removes the row from the spreadsheet
rows("1:1").select
Selection.Delete Shift;=xlUp
'Deletes only the contents of the cells in the row
rows("2:2").select
Selection.ClearContents
end if

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...