drom
Well-known Member
- Joined
- Mar 20, 2005
- Messages
- 543
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
Hi and thanks in advance
I know How to put:
I have conditional formating applyed to a few cells, say: B1:B50
When I run a Macro I put in a few cells B1:B50 the FileDateTime(of Range("a1:a50")) 'This WORKS PERFECT
range("A1:A50") shows the FullName of my files and every single Workbook present in A1:50 EXISTS
I apply the Formatting to the cells B1:B50 as follows:
=AND(($F$1+TIME(2;10;0))< B1;B1<>"") the cell fill colour is RED
$F$1= shows a datetime
But No matter what I put in my Macro, the Conditional Formatting never shows the Changes, Puts every single cell in B1:B50 in RED
The Conditional Formatting never Updates, never shows with no RED colour, I mean in Blank, the cells should be in Blank
To Update I have to Select manually the cells I know for sure they should not be red
Actually if put a in Range("A1") a non existing FullName the Conditional Formatting WORKS, because B2 is EMPTY, but for the rest, no way
Is this a BUG??
How can I force EXCEl to Update the Conditional Formatting rules??
Thanks again
I know How to put:
Code:
Application.Calculation = xlCalculationAutomatic
Application.screenUpdating = true
Calculate
Range("A1").Activate
Range("B10").Select
ActiveWindow.ScrollRow = 1
ActiveWindow.ScrollRow = 100
Sheet(2).Select
Sheet(1).activate
I have conditional formating applyed to a few cells, say: B1:B50
When I run a Macro I put in a few cells B1:B50 the FileDateTime(of Range("a1:a50")) 'This WORKS PERFECT
range("A1:A50") shows the FullName of my files and every single Workbook present in A1:50 EXISTS
I apply the Formatting to the cells B1:B50 as follows:
=AND(($F$1+TIME(2;10;0))< B1;B1<>"") the cell fill colour is RED
$F$1= shows a datetime
But No matter what I put in my Macro, the Conditional Formatting never shows the Changes, Puts every single cell in B1:B50 in RED
The Conditional Formatting never Updates, never shows with no RED colour, I mean in Blank, the cells should be in Blank
To Update I have to Select manually the cells I know for sure they should not be red
Actually if put a in Range("A1") a non existing FullName the Conditional Formatting WORKS, because B2 is EMPTY, but for the rest, no way
Is this a BUG??
How can I force EXCEl to Update the Conditional Formatting rules??
Thanks again
Last edited by a moderator: