A colleciton of tools to analyze macros in files is oletools
apt-get install python-oletools
to analyze macros the subset tool olevba is useful
olevba <filename>