I understand I can use the code below to remove conditional formatting
Sheets("PCAM Commitments").Activate
Cells.Select
Cells.FormatConditions.Delete
But what should I add to make it happens automatically when the workbook get closed every time?
----------UPDATE------
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Sheets("PCAM Commitments").Activate
Cells.Select
Cells.FormatConditions.Delete
End Sub
I tried this, but didn't work