Skip to content

LoadFromTextAsync

Mats Alm edited this page Nov 7, 2023 · 2 revisions

Async version of the LoadFromText method.

using (var pck = new ExcelPackage())
{
    var sheet = pck.Workbook.Worksheets.Add("sheet");
    var file = new FileInfo("c:\\temp\\my_file.txt");
    await sheet.Cells["C1"].LoadFromTextAsync(file);
}

See also

EPPlus wiki

Versions

Worksheet & Ranges

Styling

Import/Export data

Formulas and filters

Charts & Drawing objects

Tables & Pivot Tables

VBA & Protection

Clone this wiki locally