This example adds a hyperlink to cell B2.
With Workbook.Sheets[1] do
begin
Hyperlinks.Add(Range['B2', 'B2'], 'http://www.nika-soft.com/');
end;
This example adds a range hyperlink to cell B3.
With Workbook.Sheets[1] do
begin
Hyperlinks.Add(Range['B3', 'B3'], '', 'Sheet2!A2:F10', 'Click here to view details...', 'Details');
end;
This example adds a file hyperlink to cell B4.
With Workbook.Sheets[1] do
begin
Hyperlinks.Add(Range['B4', 'B4'], 'C:\Docs\readme.txt', '', 'Click here to view instruction...', 'Instruction');
end;