http://www.perlmonks.org?node_id=608182


in reply to Perl and MS-Excel macroes

you can probably accomplish it with Win32::OLE .. The Using Win32::OLE and Excel - Tips and Tricks tutorial is a good place to start