Hello, I think I have found a problem with Hyperlinks and range copy.
Thanks for your posting and using Aspose.Cells.
I have tested this issue with the following sample code. The code copies the source range A1:A10 containing the hyperlinks to destination range B11:B20 and it copies the hyperlinks successfully.
I have tested this code with the latest version: Aspose.Cells
for .NET v184.108.40.206.
I have attached the source excel file used in this code and the output excel file generated by it for your reference.
string filePath = @“F:\Shak-Data-RW\Downloads\source.xlsx”;
Workbook workbook = new Workbook(filePath);
Worksheet worksheet = workbook.Worksheets;
Range srcRange = worksheet.Cells.CreateRange(“A1:A10”);
Range dstRange = worksheet.Cells.CreateRange(“B11:B20”);
Hello, I am trying to reproduce this error in a small project but it is working in this test solution. Here is the code giving me the problem :
Thanks for your feedback and using Aspose.Cells.
Are you still getting the problem with the latest version: Aspose.Cells
for .NET v220.127.116.11 please give it a try and see how it goes at your end.
If your problem still occurs, then please provide us your sample console application project that should be runnable. The code you provided is not runnable and gives me compile time errors which should not be present so that we could run your code at our end and log it in our database if it is a bug and fix it in our next versions.
Thanks for your cooperation.