Hi @amjad.sahi,
I am using the Aspose.Cells v25.4.0 NuGet package to convert the attached IssueTemplate.xlsb
file to xlsm format.
This xlsb file contains a table with a column name that includes the @ char, and this column is referenced in a formula.
The output file generated by Aspose is ConvertedUsingAspose.xlsm
Upon inspecting the worksheet in the output file ConvertedUsingAspose.xlsm\xl\worksheets\sheet1.xml
, I noticed that cell B2 contains the formula: <f>Table1[[#This Row],[Col '@ 1]]</f>
However, when I use Microsoft Excel to manually convert the same XLSB file to XLSM, the formula in cell B2 appears as: <f>Table1[[#This Row],[Col @ 1]]</f>
As you can see, the Aspose-generated file includes a single quotation mark before the @ character , whereas the Excel-generated file does not. This discrepancy is causing issues in my application.
I have also attached the Excel-converted file as ReSavedUsingExcel.xlsm
for comparison.
TableHeaderSpecialCharIssue.zip (20.4 KB)
According to this Microsoft documentation, Using structured references with Excel tables - Microsoft Support
this issue might not be limited to the @ char, but could also affect other special characters such as: Left bracket ([), Right bracket (]), Pound sign (#), Single quotation mark (').
This behavior does not match Excel’s output and needs to be fixed. Please do the needful to resolve this issue.
Thanks.