Conditional formatting not automatically updating

gordsky

Well-known Member
Joined
Jun 2, 2016
Messages
555
Office Version
  1. 2016
Platform
  1. Windows
Hi all,
Hoping someone can point me in the right direction with this one.

Having come back from a period of leave I have found that the conditional formatting in one of my spreadsheets has stopped refreshing/updating automatically. By that I mean it works but doesnt update the screen. This is the scenario although simplified for here.

Before if I put a "Y" in say cell A1 then it would format cells B1:D4 in the desired way.
For some reason now when I put a "Y" in cell A1 nothing happens HOWEVER if I switch to another sheet and then come back to the original sheet upon returning the conditional formatting to B1:D4 is applied. Almost as if the screen updating has been turned off somehow (first thing i checked)

anyone point me towards a solution
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Should it not be:
Excel Formula:
=$G$7="Y"
it should have the Y yes. And it does, was a typo in my reply above. Still cant get the thing working although if I copy the entire tab into a new workbook and save it works just fine so obviously something specific to the original book.
 
Upvote 0
I know that you have already stated that the calculation is set to automatic but that is the only way i can recreate the issue.

Have you tried running something like the below anyway?
VBA Code:
Sub test()
    Application.EnableEvents = True
    Application.Calculation = xlCalculationAutomatic
End Sub

Just in case it shows as Automatic but is still manual.
 
Upvote 0
I know that you have already stated that the calculation is set to automatic but that is the only way i can recreate the issue.

Have you tried running something like the below anyway?
VBA Code:
Sub test()
    Application.EnableEvents = True
    Application.Calculation = xlCalculationAutomatic
End Sub

Just in case it shows as Automatic but is still manual.
Yes did that still no joy.
 
Upvote 0
a. If you create a new blank worksheet, and apply the same conditional formatting to one cell there, does it now update when you are on the new worksheet?
b. f you create a new blank workbook, and apply the same conditional formatting to one cell there, does it now update when you are in the new workbook?
 
Upvote 0
Managed to make it works by adding a

VBA Code:
Application.ScreenUpdating = False

at the beginning of my code and

VBA Code:
Application.ScreenUpdating = True

at the end.
 
Upvote 0

Forum statistics

Threads
1,213,552
Messages
6,114,278
Members
448,559
Latest member
MrPJ_Harper

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top