Zum Inhalt

GetCsvFromExcel (Opus Funktion)

Beschreibung

Gibt ein Dokument als Blob zurück.

Converts an Excel XML document provided as a blob into CSV format. The extended form allows specifying a custom column separator and a target sheet name.

Argumente

Name

Typ

Beschreibung

ExcelData

blob

the Excel XML file content as a blob

Separator

char

(optional, but if set, then all optional must be set) column separator character used in the CSV output (Char müssen in einfachen Anführungszeichen geschrieben werden im Gegensatz zu strings, welche doppelte Anführungszeichen verlangen)

SheetName

string

(optional) name of the sheet to convert; empty string converts the active sheet (sheet = Reiter im Excel)

Rückgabewert blob

the Excel XML content converted to CSV format

Beispiel

Lo_CSV = GetCsvFromExcel(Lo_Report);

oder

Lo_CSV = GetCsvFromExcel(Lo_Report,',',”Testklasse”)

Siehe auch