Hello everyone I am new to this and I am having problems in VBA Excel 2013. I need to filter a database on a sheet, according to values I have on another sheet of the same book, these values are in a range of cells. These values are constantly changing, but the range of the cells is not.
First I thought I could use it in the filter code where it says AutoFilter field: = 1 Criteria: = Sheet1.Range ("D4: D10") ... etc
But it does not work, then try declaring an array and using an advanced filter, but I can not make it work.
I need to filter from this BD1 that is on the "fuels" sheet
the values that appear in this BD2 on the "calculations" sheet
Someone to help me please !!!!