Hello,
I basically use below code to remove formula for the entire sheets.
But is anyone happen to know if we could have a VBA code to remove formula only the selected visible cells ?
Sometimes I need to keep some formula by hiding or filter it out.
I basically use below code to remove formula for the entire sheets.
But is anyone happen to know if we could have a VBA code to remove formula only the selected visible cells ?
Sometimes I need to keep some formula by hiding or filter it out.
Code:
Sub Removeformu()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("SPI)
ws.UsedRange.Value = ws.UsedRange.Value
End Sub