in reply to Fileformat for saving .xlsm file ?
To find out, go to http://msdn.microsoft.com/ and read the OLE Excel documentation.