Hi
I am trying to run this code to delete constants from column I when i leave a sheet.
Private Sub Worksheet_Deactivate()
Columns("I:I").Select
Selection.SpecialCells(xlCellTypeConstants, 2).Select
Selection.ClearContents
End Sub
The code runs fine using a button but if...