Для 3.0
X++:
void AutoFilter(BookMark _bookMark, int _workSheet = this.getNumWorkSheetActive())
{
COM comRange;
COMDispFunction f;
;
if (! m_comDocument)
throw error(StrFmt("@DIS6401", this.getApplicationName()));
comRange = this.findRange(_bookMark, _workSheet);
f = new COMDispFunction(comRange, "AutoFilter", COMDispContext::METHOD);
f.call();
}