in reply to Fileformat for saving .xlsm file ?

what Fileformat we need to specify ?

To find out, go to http://msdn.microsoft.com/ and read the OLE Excel documentation.