Skip to Content

Black Friday: 70% off yearly plans, 50% off your first month. Ends Sunday 6 December.

See pricesSee prices
Lingivio
Try FreeGo to Dashboard

Can You Translate a Macro-Enabled Excel Workbook?

Not directly, today. Lingivio accepts .xlsx and .ods workbooks. A macro-enabled .xlsm file, a binary .xlsb file and an old .xls file are refused at upload, before anything is translated or charged. Macro code is never sent for translation.

Published

What Happens When You Upload One

The upload is refused with this message. No credits are used:

Why Macro Code Is Not Translated

A macro is a program. Translation would change what it does. A macro that checks if a cell says Total stops working when that cell says something else. A translated variable name can stop the code completely.

For the same reason, formulas are not sent for translation. Translation changes words. Code and formulas are not words.

The Safe Way Today

  1. In Excel, save a copy of the workbook as an Excel Workbook (.xlsx). Excel warns that this format cannot keep the macros. Keep your original .xlsm file.
  2. Translate the .xlsx copy with Lingivio. Sheet names are not translated, so code that refers to a sheet by name still finds it.
  3. Open the translated workbook. Copy your modules from the original in the Visual Basic editor. Save the workbook as an Excel Macro-Enabled Workbook (.xlsm).
  4. Search the code for fixed words that it compares cells with, such as If Range("A1") = "Total". Those cells are translated now, so change each word to its translation.

If You Translate Macro Workbooks Often

Tell us which workbooks, and why. We decide on direct support for macro-enabled files from what people send.

Contact us

All guides

Related Pages

Try It With Your Own Document

Upload a file and see the exact credit cost before anything starts.

Free credits every month · no card required

Free trial: 10 credits, once, for any file type, up to 13 pages and 50 MB per file. A scanned page counts as two.

After the trial, the Free plan translates Word (.docx), OpenDocument text (.odt), and Text (.txt) with 3 credits a month. Excel and PowerPoint need the Professional plan or higher.

Get Product News by Email

New languages and file types, translation tips and developer updates.

Subscribe

Cookies for analytics and personalised ads run only if you accept them. Cookie Policy