Skip to content

Cookie settings

Choose which kinds of cookies you allow. You can change your choice at any time via Cookie settings at the bottom of every page. Privacy statement

Necessary

Always on

Needed to log in, keep your cart and remember your choices. These are always on.

Which cookies?
  • weboke_sessie, weboke_klant, weboke_remember: your session and staying logged in
  • weboke_basket: your cart
  • wkBtwIncl: showing prices with or without VAT
  • wok_cookies: your cookie choice, 12 months

Measures which ad leads to a visit or order, so we do not pay for ads that do nothing.

Which cookies?
  • Google Ads via Google Tag Manager (_gcl_au, _gcl_aw), up to 90 days
  • OpenAI Ads, ads in ChatGPT
  • wok_aff: which partner referred you to us (affiliate programme), 60 days

4.6

Country and language

Each country has its own site, with prices and VAT for that country.

View

Macros from Word and Excel (VBA): what still works?

A macro is a small program inside a document, such as a button that creates an invoice or sorts a list. In Word and Excel, macros are written in VBA. You can recognise these files by the extension docm, xlsm or pptm, or they are old doc and xls files.

The honest answer

LibreOfficeEuro-Office
Opening the file and using the dataYesYes
Running VBA macrosSome of them, mainly from Excel, if you switch this onNo
Your own macrosIn LibreOffice Basic and PythonIn JavaScript

In LibreOffice

Why does nothing happen? For security reasons, LibreOffice disables macros by default. You will then see a message such as Macros are disabled due to the current macro security settings.

  1. Choose Tools > Options... > Load/Save > VBA Properties. Under Microsoft Excel (and Word, if needed), tick Load Basic code, Executable code and Save original Basic code.
  2. Choose Tools > Options... > LibreOffice > Security and click Macro Security.... Choose Medium: LibreOffice will then ask what you want to do with every file that contains macros.
  3. Close the file and open it again. Choose Enable Macros, but only if you trust the file.

LibreOffice can run a lot of VBA code, but not all of it. If a button doesn't work, the macro has to be adapted in the Basic editor (Tools > Macros > Edit Macros...). This requires programming knowledge.

If you save the file as xlsm again, the original VBA code is kept thanks to Save original Basic code. If you save it as ods, the VBA code is lost.

In Euro-Office

Euro-Office does not run VBA. The file opens normally and you can see all the data and formulas, but the buttons do nothing. On the View tab, under Macros, you can create a macro in JavaScript or record one. Read more in An Excel file with VBA macros: what now?.

The Macros window in Euro-Office
In Euro-Office, you create macros in JavaScript via View, Macros

Do you still need the macro?

Many old macros sort, filter, colour or look something up. You can often do that without a macro:

You can read more about your options in Macros, templates and compatibility testing.

Please note: macros in files from other people can be harmful. Never set macro security to Low, and only enable macros for files you trust. Always keep the original of a file that contains macros.

One moment…

Set up your domains

For each domain, arrange the nameservers, the link to your hosting and who becomes the owner.

Loading your domains…