internal ExcelFile Run() { ExcelFile Result = new XlsAdapter.XlsFile(); using (MemoryStream MStream = new MemoryStream(FData)) { MStream.Position = 0; try { Result.Open(MStream); Result.ActiveSheet = Result.ActiveSheet; //Just in case... if (!StaticInclude) { Report.RunPreloaded(Result, MainBand, KeepRows, KeepCols); } } catch (Exception e) { FlxMessages.ThrowException(e, FlxErr.ErrOnIncludeReport, FTagText, e.Message); } } return(Result); }