Removing smart tags from excel files

i am trying to create a function that removes all the smart tags from excel files.
i have noticed that you do actually support this and i saw that you have made a class named SmartTagCollection but i couldn’t manage to use it properly can you help me?

@Lidor,

Could you please share a sample Excel file (please zip it prior attaching here) containing the smart tags you want to remove? Please provide details and screenshots of the specific smart tags you need to remove. Once we understand your requirements, we can assist you on how to do it using the Aspose.Cells API.

hey amjad,
sorry for the delay for this response but i have tried to create such a file but then i have encountered this link: SmartTag Interface (Microsoft.Office.Tools.Excel) | Microsoft Learn
which says that: “This type is intended to be used only in projects for Excel 2007. Smart tags are deprecated in Excel 2010…”
i am working with microsoft 365 and therefore i can’t create such an example file.
is it possible that aspose.cells are no longer supports this feature since microsoft have removed this?

@Lidor
You can refer to the following example code to clear Smart Tags on the worksheet.

Worksheet.SmartTagSetting.Clear();

If you still have any questions, please provide your sample file and test code, and we will check it soon.