savioxfernandes
New Member
- Joined
- Apr 7, 2015
- Messages
- 2
HI
i currently have the beow code which can add an round formula to an Exiting formula in a cell
however i need to undo this -
meaninig
if the result of the above code give me "=round ((Sum(A1+A2),2) =24.44
then i need to remove the round form the formula in an range
thanks
Savio Fernandes
i currently have the beow code which can add an round formula to an Exiting formula in a cell
Code:
Sub add_round()
Dim rng As Range
For Each rng In Selection
rng.Value = "=Round(" & Mid(rng.Formula, 2, 9999) & ",2)"
Next rng
End Sub
however i need to undo this -
meaninig
if the result of the above code give me "=round ((Sum(A1+A2),2) =24.44
then i need to remove the round form the formula in an range
thanks
Savio Fernandes
Last edited by a moderator: