Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On a group of spreadsheets, on the sheet names "Single",
column N sometimes has conditional formatting (2 conditions) that shouldn't be there. How can I get rid of this in code please? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
One way:
Public Sub RemoveCFinColumnN() Dim wsSheet As Worksheet On Error Resume Next Set wsSheet = Sheets("Single") On Error GoTo 0 If Not wsSheet Is Nothing Then _ wsSheet.Columns(14).FormatConditions.Delete End Sub In article , "Shaun Allan" wrote: On a group of spreadsheets, on the sheet names "Single", column N sometimes has conditional formatting (2 conditions) that shouldn't be there. How can I get rid of this in code please? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excellent! Thanks!
|
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Shaun,
Sub TEST() On Error Resume Next Worksheets("Single").Columns(5).FormatConditions.D elete End Sub -- Regards, Soo Cheon Jheong _ _ ^ąŻ^ -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Removing formatting | Excel Discussion (Misc queries) | |||
expanding custom formatting without removing existing cell formatting? | Excel Worksheet Functions | |||
Formula if a conditional format exists | Excel Discussion (Misc queries) | |||
Return adjacent cell if conditional formatting exists. | Excel Worksheet Functions | |||
Removing formatting | Excel Discussion (Misc queries) |