ExcelWriteExcel(IFileData, String, ListListExcelCell, String) Method

Writes cell data into a new xlsx File

Definition

Namespace: PCBI.Automation.IO
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static bool WriteExcel(
	IFileData xlsxFile,
	string SheetName,
	List<List<ExcelCell>> data,
	out string error
)

Parameters

xlsxFile  IFileData
File to create/overwrite
SheetName  String
Name of the sheet
data  ListListExcelCell
List of lists of cells to write
error  String
Returns the error information if funtion fails

Return Value

Boolean
True if successful

See Also