sen has asked for the wisdom of the Perl Monks concerning the following question:

How to get all the hyperlinks from the spreadsheet (hyperlinks not visible in excel sheet directly)

I need to extract the hyperlinks from the excel sheet.

Please advice.

  • Comment on How to get all the hyperlinks from the xls sheet

Replies are listed 'Best First'.
Re: How to get all the hyperlinks from the xls sheet
by poj (Abbot) on May 24, 2016 at 19:19 UTC

    Use Win32::OLE

    my $count = $sheet->{'UsedRange'}->Hyperlinks->Count; for my $i (1..$count){ my $link = $sheet->Hyperlinks($i); printf "%-10s %-40s\n",$link->Range->Address,$link->Address; }
    poj