theshiggidy
New Member
- Joined
- Oct 13, 2016
- Messages
- 6
Hi all,
I was using a macro attached to a button to filter rows based on the colour of a cell (determined by conditional formatting).
The code was:
-----------------
Sub Due()
'
' Due Macro
'
'
ActiveSheet.Range("$B$1:$Z$5997").AutoFilter Field:=10, Criteria1:=RGB(218, _
150, 148), Operator:=xlFilterCellColor
ActiveWindow.SmallScroll Down:=-6
End Sub
-----------------
However, this is now a shared workbook and for WHATEVER reason you can't use colour as a search filter in a shared workbook.
To layout how I think it can be done, but can't seem to find the right functions...
Column J is the date the report is due for distribution, and column K is the current status of the report (waiting, complete, etc).
Essentially I was thinking IF J is => TODAY () AND K = "Waiting"
I'm sure the solution is so simple to filter using the above criteria, any assistance would be excellent.
I was using a macro attached to a button to filter rows based on the colour of a cell (determined by conditional formatting).
The code was:
-----------------
Sub Due()
'
' Due Macro
'
'
ActiveSheet.Range("$B$1:$Z$5997").AutoFilter Field:=10, Criteria1:=RGB(218, _
150, 148), Operator:=xlFilterCellColor
ActiveWindow.SmallScroll Down:=-6
End Sub
-----------------
However, this is now a shared workbook and for WHATEVER reason you can't use colour as a search filter in a shared workbook.
To layout how I think it can be done, but can't seem to find the right functions...
Column J is the date the report is due for distribution, and column K is the current status of the report (waiting, complete, etc).
Essentially I was thinking IF J is => TODAY () AND K = "Waiting"
I'm sure the solution is so simple to filter using the above criteria, any assistance would be excellent.