extract_vba(1p)

extract_vba1p

A utility to extract a vba project from an excel 2007+ xlsm file.

Usage

Extracted 'vbaProject.bin' successfully

Overview

This utility is used to extract the VBA project binary from an Excel 2007+ xlsm file. The VBA project can then be added to an Excel::Writer::XLSX file to enable it to have macros.

An "xlsm" file is a version of an Excel "xlsx" file that contains an additional VBA project binary file. The "xlsm" file format is a collection of mainly XML files in a ZIP container.

The extracted VBA project is an OLE Compound Document in binary format. It is named "vbaProject.bin" and is generally located in the "xl" directory of the "xlsm" file.

See the "add_vba_project()" section of the Excel::Writer::XLSX documentation for more details.

Note: you can also extract the VBA project from an "xlsm" file using the standard Linux "unzip" command:

    unzip -j macro01.xlsm xl/vbaProject.bin

On Windows you can use any suitable Unzip application.

Options

--help or -h

Print the help documentation.

Version

Version 0.01.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

John McNamara [email protected]

From libexcel-writer-xlsx-perl 1.11-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.