Deleting Zero after Subtotal

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've created a macro that, upon entering info (just numbers as text, not $$)
into approx. 10 columns and 75 rows, will sort, subtotal and calc a formula.
Problem: If a cell contains no info the macro will automatically put in a 0.
Is there a way to quickly delete all the cells with only a 0 without deleting
the numbers that should contain zeros (ie. 100, 305...)??

Thanks
 
If you only want to have the appearance of blank cells then use conditional
formatting

If Cell Value = 0 then format <font colour = white> (assuming cell
backgrounds are white)

This will cause to zeros to be invisible
 
Select range and do Edit / Replace / Replace 0 with nothing BUT make sure you
check the option 'Match Entire Cell Contents only' You can just record this and
drop it onto the end of your macro.
 
Thanks to all!

Ken Wright said:
Select range and do Edit / Replace / Replace 0 with nothing BUT make sure you
check the option 'Match Entire Cell Contents only' You can just record this and
drop it onto the end of your macro.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top