I use Win32::OLE for that (and the Excel Macro Recorder, to find out the functions to call in the API)
In reply to Re: which module to use? by Corion in thread which module to use? by ArmandoG