A formula to "clear to zero" multiple cells

D

Douglas Strinz

Hello all,

I have made a calculator that has many cells where number values are added.

I would like to make a master RESET button that will clear all the cells
that I program into the formula

Thanks in advance,

Doug
 
D

Don Guillett

You will have to use a macro something like this.

Sub clearspecifiedcells()
Range("d8,e3").ClearContents
End Sub
 

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

Top