pls see in attachment.
Hi,
Hi,
Hi,
Thanks for your posting and using Aspose.Cells.
PROBLEM 1:
Aspose.Cells does not support converting a Name that contains
several non contiguous area as a range now.
We will provide solution
with Name.GetRanges method
PROBLEM 2:
We will support this
feature.
PROBLEM 3:
This xls file must be created by MS Excel 2007 or
advanced version.
We do not support some advance records since Excel 2007 in
xls file. We could not support those records soon.
Could you please simply use xlsx
file as you are using MS Excel 2007?
Hi,
Thanks for your posting and using Aspose.Cells for .NET.
We have fixed the issue.
Please download and try this fix: Aspose.Cells for .NET v7.4.3.2 and let us know your feedback.
Hi,
For your issue “CELLSNET-41647”, please try the following temporary solution to delete a name
which contains several ranges.
Sample code:
Private Sub DeleteNamedRange(ByVal name As String, ByVal
shift As ShiftType)
Dim rs() As Range = Me.m_apcDesigner.Workbook.Worksheets.Names(name).GetRanges()
For i As Int32 = 0 To rs.Length - 1
rs(i).Worksheet.Cells.AddRange(rs(i))
Next (i)
For i As Int32 = 0 To rs.Length - 1
Dim r As Range = rs(i)
Dim f As FileFormatType = Me.m_apcDesigner.Workbook.FileFormat
If ((f = FileFormatType.Excel97To2003 AndAlso r.ColumnCount = XLS_MAX_COLUMN_COUNT) OrElse (f = FileFormatType.Xlsx AndAlso r.ColumnCount = XLSX_MAX_COLUMN_COUNT)) Then
Me.m_apcDesigner.Workbook.Worksheets(r.Worksheet.Index).Cells.DeleteRows(r.FirstRow, r.RowCount, False)
ElseIf ((f = FileFormatType.Excel97To2003 AndAlso r.RowCount = XLS_MAX_ROW_COUNT) OrElse (f = FileFormatType.Xlsx AndAlso r.RowCount = XLSX_MAX_ROW_COUNT)) Then
Me.m_apcDesigner.Workbook.Worksheets(r.Worksheet.Index).Cells.DeleteColumns(r.FirstColumn, r.ColumnCount, False)
Else
Me.m_apcDesigner.Workbook.Worksheets(r.Worksheet.Index).Cells.DeleteRange(r.FirstRow, r.FirstColumn, r.RowCount + r.FirstRow - 1, r.ColumnCount + r.FirstColumn - 1, shift)
End If
Next (i)
Me.m_apcDesigner.Workbook.Worksheets.Names.Remove(name)
End Sub
Thank you.
The issues you have found earlier (filed as CELLSNET-41648) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Please try our latest version Aspose.Cells 21.6.0.
If you find any issue, please provide the source Excel file to help us analyze it.