How to run or execute Excel macros

Hi ,
I am using Aspose.cells 8.1.0.0 to convert an excel sheet into an image.

Before conversion I want to execute macros associated with excel workbook.
Could you please tell me how to run macros?

Thanks
Yogita

Hi Yogita,

Thanks for your posting and considering Aspose.Cells.

We are afraid, Aspose.Cells cannot run/execute or create new or existing macros. This feature is not available and we have no plans to support this feature in near future.

If you have any other question or face any other issue, please feel free to post, we will look into it and help you asap.

Hi Shakeel Faiz,

Thank you for your quick reply.

I am using macros in xlsm files, Is there any way to run macro from xlsm files before saving as xlsx and then convert to an image ?

Thanks
Yogita

Hi,


I am afraid, as Shakeel Faiz told you that Aspose.Cells does not support creating, executing/ running or manipulating Macros/ vba codes in Excel files for any format (e.g XLSX, XLSM, XLSB, XLS).

We are sorry for your inconvenience caused!