Hello, i have a scrip that is data mining in Excel. I need to filter a column based on multiple data, sometimes, two, or maybe more data. i have tried many different methods and i either get only the last value in the array. or an error - {Exception calling “Autofilter” with “3” arguments(s): “Autofilter method of Range class failed”. Please help. I have found nothing on the Thanks , Jeff W.
Jeffrey I Wilson
[#filter for column
$FL = @(“lastname, first”,“lastnamedif, firstnamedif”)
$rng=$Worksheet.cells.item(2,38).entirecolumn
$rng.select | Out-Null
$excel.Selection.AutoFilter]