Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Gets the number of top or bottom items.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
XL 7.3 Yes Yes Yes Yes Yes
MBS( "XL.Sheet.AutoFilter.GetTop10"; bookRef; sheetIndex; FilterColumnIndex; Selector )   More


Parameter Description Example value
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
sheetIndex The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. 0
FilterColumnIndex The column index of the filter.
Range from 0 to XL.Sheet.AutoFilter.ColumnSize-1.
Selector Which value to return.
Can be value for number of items;
top to get top items if 1 otherwise bottom items if 0;
percent for using percent instead of number items.


Returns value or error.


Gets the number of top or bottom items.

See also

Created 1st July 2017, last changed 1st July 2017

XL.Sheet.AutoFilter.GetSortRange   -   XL.Sheet.AutoFilter.SetCustomFilter

Feedback: Report problem or ask question.

MBS Xojo Plugins