ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   A formula to "clear to zero" multiple cells (https://www.excelbanter.com/new-users-excel/202118-formula-clear-zero-multiple-cells.html)

Douglas Strinz

A formula to "clear to zero" multiple cells
 
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

Don Guillett

A formula to "clear to zero" multiple cells
 
You will have to use a macro something like this.

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

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Douglas Strinz" <Douglas
wrote in message
...
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




All times are GMT +1. The time now is 01:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com