Execute Macro in Cell

Hi,

Does Aspose Cells support execution of macros placed in a cell.

Is there a way by which cell content can be checked to see if it is a macro.

Thanks !!

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

aakanksha1984:
Does Aspose Cells support execution of macros placed in a cell.

Well, Aspose.Cells does not allow executing the macros / VBAs or performing any changes to the macros in the template file. Aspose.Cells only preserves the macros present in the template files. (The macros are copied to the resultant files as they are in the template file).

aakanksha1984:
Is there a way by which cell content can be checked to see if it is a macro.

Well, you may try Workbook.HasMacro property if it fits your need. It indicates if the spreadsheet contains macro/VBA.

Thank You & Best Regards,

Thank you for the help !!!

Hi,

Do Aspose Cells support execution of macros placed in a cell now?

Thank you

@vitkar007

No, Aspose.Cells cannot execute Macros. Implementing Macro Execution Engine is a gigantic task which is not feasible for us.

However, you can manipulate Excel Macros in some ways as described in the sub-articles of the following section.