Page 1 of 1

ELIstError when using MakeHyperlink procedure

Posted: Mon Apr 08, 2013 8:33 am
by d3nton
Hi.

I got another problem when trying to create a hyperlink via makehyperlink:
using the code below results in a EListError (XLSReadWrite 5.10.12):

var
ExcelFile5 : TXLSReadWriteII5;
begin
ExcelFile5 := TXLSReadWriteII5.Create(nil);
ExcelFile5.Filename := 'D:\output.xlsx';
ExcelFile5.Sheets[0].Name := 'test';

ExcelFile5.Sheets[0].MakeHyperlink(0,0,'C:\Windows\', 'C:\Windows\');
ExcelFile5.Write;
end.

Any help would be appreciated.
Greetz d3nton