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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
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,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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