extract_vba command not found

In this troubleshooting guide we learn how to fix extract_vba command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

extract_vba: command not found

or when using sudo you get the following error message

sudo: extract_vba: command not found

Solutions to extract_vba: command not found

How To Fix extract_vba: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu extract_vba is provided by libexcel-writer-xlsx-perl package.

libexcel-writer-xlsx-perl is:

The Excel::Writer::XLSX module is used to create an Excel file in the 2007+ XLSX format. The XLSX format is the Office Open XML (OOXML) format used by Excel 2007 and later.

This module cannot, as yet, write to an existing Excel XLSX file. The module uses the same interface as the Spreadsheet::WriteExcel module (which creates binary XLS Excel files).

To fix this problem, we can install more using the command below.

sudo apt-get -y install libexcel-writer-xlsx-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libexcel-writer-xlsx-perl.

sudo apt -y install libexcel-writer-xlsx-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libexcel-writer-xlsx-perl

Summary

In this tutorial we learn how to fix extract_vba command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.