Hi Aspose team,
in attached project I included one XLS document which has 4 hyperlinks. 3 are in first worksheet and 1 is in 3rd worksheet.
Unfortunately only hyperlinks in first worksheet are identified.
Code is very simple:
public void ReadHyperlinks(string filename)
{
int i = 1;
Workbook workbook = new Workbook(filename);
foreach (Worksheet worksheet in workbook.Worksheets)
{
foreach (Aspose.Cells.Hyperlink hpl in worksheet.Hyperlinks)
{
Console.WriteLine(i.ToString() + ". " + hpl.Address);
}
}
}
{
int i = 1;
Workbook workbook = new Workbook(filename);
foreach (Worksheet worksheet in workbook.Worksheets)
{
foreach (Aspose.Cells.Hyperlink hpl in worksheet.Hyperlinks)
{
Console.WriteLine(i.ToString() + ". " + hpl.Address);
}
}
}
Can you please have a look?