TUdfEventArgs.Xls Property ExcelFile that has the formula being evaluated. You might change its ActiveSheet property inside this method and there is no need to restore it back. Syntax Unit: FlexCel.Core property TUdfEventArgs.Xls: TExcelFile See also TUdfEventArgs