I Need a Macro Clear Button

samsilverman

Board Regular
Joined
Nov 9, 2009
Messages
176
I am using Excel 2007.

We have a Database in Excel 2007 (at least that's what I call it ;)). It's used in the field to input ventilation and chemical exposure readings.

One sheet we use is named Generic Ventilation. Is there a way to create a macro button (that would not show up on the printed report) that would clear whatever cells I wanted to clear while leaving other cells alone?

If I get a solution, I would want to be able to customize it for a couple other sheets we use that have different cells needing to be cleared or retained.

Thanks for any assistance anyone can give. Please keep in mind I am a rookie. Thanks again.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Send me a PM with an e-mail address I send a file to and I will create a real simple spreadsheet with a button that will clear some cells values. You can then change the code to clear the specific cells you need it to.
 
Upvote 0

Forum statistics

Threads
1,215,793
Messages
6,126,936
Members
449,349
Latest member
Omer Lutfu Neziroglu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top