ActiveSheet.Range("B5").Value = ""
ActiveSheet.Range("C6").Value = ""
ActiveSheet.Range("B5:C5").Value = ""
Welcome to the forum.
In your CommandButton_click() event, you would use something like this:
Code:ActiveSheet.Range("B5").Value = "" ActiveSheet.Range("C6").Value = ""
Now, if the two cells are contiguous, then perhaps this:
Code:ActiveSheet.Range("B5:C5").Value = ""
Thanks for helping i think i dont need to send the formulas because its solved. Thanks alot!That depends on what cells the formulas are in. I imagine the cell where you input the 10 is manual input, and then the formula is in the total cell? If that's the case, then just use code for the single cell that will contain the manual input of 10 to clear it out. Then your total cell will recalculate by itself to 0 or potentially a value error. What is the exact formula(s) you are using and what cells are they in? And what specific cells are manual input that should be cleared out when the button is pressed?