Class VBAMacroReader

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class VBAMacroReader
    extends Object
    implements Closeable

    Finds all VBA Macros in an office file (OLE2/POIFS and OOXML/OPC), and returns them.

    NOTE: This does not read macros from .ppt files. See org.apache.poi.hslf.usermodel.TestBugs.getMacrosFromHSLF() in the scratchpad module for an example of how to do this. Patches that make macro extraction from .ppt more elegant are welcomed!

    Since:
    3.15-beta2