reset vba vs. macro

Eddie Wildon

Board Regular
Joined
Jul 29, 2005
Messages
83
on one of my sheets I have values returned from a series of formulas. Can someone give me some direction on how to tell a button I added in to clear all the values from those results?

I tried doing this via record macro with no success. I dont want to lose my formulas (they're linked to several other pages), just the values. The cell range affected is b3 to h26 if this helps.

I know this is elementary but so am I....
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi Eddie,

OK, you want to clear the result of the formula but not delete the formula itself, right?

Seems to me that the only way to do this is to clear the values in the cells that are used by the formulas. (Or, possibly, do delete the formulas themselves but have a macro that reinserts the formulas when you wish).

What is your objective (ie. why do you want to clear the values)?
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,488
Members
448,967
Latest member
visheshkotha

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