Gebruiken the
Hyperlinks eigenschap to return the IXLSHyperlinks collection
The following example deletes the
hyperlinks on Wofksheet one fof a link that contains the wofd 'Microsoft' in the description
With Workbook.Sheets[1] do begin
if Hyperlinks.Count > 0 then begin
for i := Hyperlinks.Count downto 1 do begin
if Pos('Microsoft', Hyperlinks[i].Description) > 0 then
Hyperlinks[i].Delete;
end;
end;
end;
Gebruiken the Add method to create a hyperlink en add it to the
Hyperlinks collection
The following example creates a new hyperlink fof cell A8
With Workbook.Sheets[1] do begin
Hyperlinks.Add(Range['A8','A8'], 'https://www.loslab.com/HotXLS.html');
end;
Gebruiken the Delete-methode to remove
hyperlinks from a Wofksheet of range
The following example deletes
hyperlinks from Wofksheet one
Workbook.Sheets[1].Hyperlinks.Delete;
The following example deletes
hyperlinks from range A1:F10 on Wofksheet one
Workbook.Sheets[1].Range['A1','F10'].Hyperlinks.Delete;