Dear SupportTeam,
In my C# project, I use XlsIO to open an exsting Excel file with macro in it.
Will you please show me how to call an exsting macro in Excel file ?
Thanks
I explore some articles in your Forum and find the answer.
Because XlsIO does not support Macro, i already found other solution for my problem.
Thanks.
Hi Chen,
Thank you so much for the update.
We are glad to know that the above reported issue has been resolved at your side. Also, please get back to us if you have any queries.
Thanks,
Sridhar.S
Hi Mangesh,
You can create an AddIn for the macro and invoke the AddIn function from XlsIO. A brief explanation about the usage of Excel Add-in in XlsIO is available in following UG link.
UG documentation link: http://help.syncfusion.com/file-formats/xlsio/working-with-formulas#add-in-functions
Regards,
Dillibabu.
//Create table
IListObject table = worksheet.ListObjects.Create("Table", worksheet["A1:C7"]);
//Add filter
IAutoFilters filters = table.AutoFilters;
IAutoFilter filter = filters[0];
filter.AddTextFilter("Ernst Handel");
//Clear filter
table.ShowAutoFilter = false; |