Convert DBF to XLSM

Turn DBF documents into XLSM. One sheet with the field names as the header and numbers, dates and logical fields as typed cells, decoded with the code page the file names, or as Western European when it names none.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop DBF files on the dialor turn it to pick what to do

A dBase table as one Excel sheet.Field names become the header, and values keep their types.

  1. What you get

    One XLSM file with one sheet. The first row holds the field names from the DBF file, and each record follows as a row.

    Numbers, dates and logical fields arrive as typed cells, not as plain text.

    The workbook is saved as a macro-enabled workbook, but it contains no macros.

  2. Text and code pages

    Text is decoded with the code page the DBF file names. If the file names none, it is read as Western European.

  3. What it leaves behind

    Some FoxPro fields do not carry over. Currency, date-time and memo fields come out as an unsupported-field note instead of their values. Double fields come out as 0.

    Check these fields in the result before you rely on it.

  4. When it stops

    If the file could not be parsed, the conversion stops with input_corrupted.

    To go the other way, use XLSM to DBF.

DBF and XLSM.What each format is.

The formats

From · DBF

dBase Table

dBase tables, the attribute tables of shapefiles and many legacy databases.

Extensions
.dbf
MIME type
application/x-dbf
Kind
Documents
To · XLSM

Excel Macro-Enabled Workbook

An Excel workbook with macros enabled.

Extensions
.xlsm
MIME type
application/vnd.ms-excel.sheet.macroEnabled.12
Kind
Documents

In your code.The same DBF to XLSM conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.dbf sheet.xlsm
$ cv convert sheet.dbf sheet.xlsm

Questions.What people ask about DBF to XLSM.

01OF 04

No. It is saved as a macro-enabled workbook, but it has no macros.

Numbers, dates and logical fields are written as typed cells.

They come out as an unsupported-field note instead of the values. Date-time fields are treated the same way.

They come out as 0.

More conversions.Other ways in and out of DBF and XLSM.