Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  


Sets 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.SetTop10"; bookRef; sheetIndex; FilterColumnIndex; Value; Top; Percent )


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.
Value Number of items
Top Pass 1 to get top items or 0 for bottom items. 1
Percent Pass 1 for percent values. 1


Returns OK or error.


Sets the number of top or bottom items.

See also

XL.Sheet.AutoFilter.SetSort   -   XL.Sheet.CellIsDate

Feedback: Report problem or ask question.

MBS Xojo Plugins