Help auto filtering dynamic data table

russelldt

Board Regular
Joined
Feb 27, 2021
Messages
159
Office Version
  1. 365
Platform
  1. MacOS
I have been using the following (successfully) to auto filter an excel table (containing invoices) that copied data from a source file.



Private Sub Workbook_Open()
With Sheets("Invoice log")
.AutoFilterMode = False
.Range("C3", .Range("C" & Rows.Count).End(xlUp)).AutoFilter Field:=1, Criteria1:=Sheets("Cashflow input").Range("E4").Value
End With
End Sub



Having changed to Excel 365 and One Drive, I now want to use the Dynamic Data ability to keep the table containing invoiced up to date, and then auto filtering them once again.

I have created the link but the above filter does not work. I have checked the cell references, and they are all correct. What happens is that Column A is used as the filter selection, and not Column C.

Any suggestions here? Thanks
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,221,841
Messages
6,162,314
Members
451,759
Latest member
damav78

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