Add zeros to final filtering

This commit is contained in:
Sergey Chebotar 2023-01-13 08:37:22 +03:00
parent 993dfe1e31
commit 3cfe453b38
2 changed files with 3 additions and 3 deletions

View File

@ -182,7 +182,7 @@ namespace RhSolutions.Controllers
AutoFilter filter = TargetFile.Sheet.AutoFilter;
int startColumn = filter.Range.Column;
filter.Range.AutoFilter(TargetFile.AmountCell.Column - startColumn + 1, "<>");
filter.Range.AutoFilter(TargetFile.AmountCell.Column - startColumn + 1, "<>0", XlAutoFilterOperator.xlAnd, "<>");
TargetFile.Sheet.Range["A1"].Activate();
}
}

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.3.0")]
[assembly: AssemblyFileVersion("1.2.3.0")]
[assembly: AssemblyVersion("1.2.3.1")]
[assembly: AssemblyFileVersion("1.2.3.1")]