Filtering quickfix
This commit is contained in:
parent
2ad016bb4c
commit
0fac439d95
@ -187,8 +187,9 @@ namespace RehauSku.PriceListTools
|
|||||||
protected private void FilterByAmount()
|
protected private void FilterByAmount()
|
||||||
{
|
{
|
||||||
AutoFilter filter = TargetFile.Sheet.AutoFilter;
|
AutoFilter filter = TargetFile.Sheet.AutoFilter;
|
||||||
|
int startColumn = filter.Range.Column;
|
||||||
|
|
||||||
filter.Range.AutoFilter(TargetFile.amountCell.Column, "<>");
|
filter.Range.AutoFilter(TargetFile.amountCell.Column - startColumn + 1, "<>");
|
||||||
TargetFile.Sheet.Range["A1"].Activate();
|
TargetFile.Sheet.Range["A1"].Activate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user