Free Support Forum -

Marco Not Auto Run Once Excel File Opend

I using Aspose.Cell in my project to open Excel Template file. The excel template file are included marcro with coding. Once I excute my project and open the excel template file, firstly it will showing me whether want to run the macro or not, then i press the "Enable Macros" button, but the macro seem not working. So I need manual to execute the macro like following:

Tool -> Macro ->Macros ->Select function name -> click "Run" button

Then finally the macro is running. May I know what the problem on my coding? Or any one have method to solve my issue.



Hi Seng,

Which version you are using. Could you give us more details and post your template excel file with sample code, we will check it soon. and by the way which SaveType option you are using i.e.OpenInExcel or OpenInBrowser.

Thank you.