No, POI is not able to create or edit VBA macros currently. Typically, users create macros in a template workbook using Excel then open and populate that workbook using POI. POI has been designed to pass through unchanged anything it finds in an input file that it does not 'understand' and, as a result, macros are passed through from the template file to the output one unaltered.
Yours Mark B HuBin-2 wrote: > > > Hi, > > > > I have some questions regarding Creating VBA (macro) to an Excel with POI: > > > > 1) Can I use POI to write (export) VBScripts macros to an Excel > spreadsheet (.xls) file? > > If yes, then what version of POI (HSSF) do I need? Could you give me > an example? > > > > A warm thank you! > > > > Regards, > > > > Hu Bin > > _________________________________________________________________ > SkyDrive电子画册,带你领略精彩照片,分享“美”时“美”刻! > http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c > -- View this message in context: http://old.nabble.com/Create-VBA-%28macro%29-to-an-Excel-with-POI%21-tp28692125p28695795.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
