Documentazione HotXLS

Borders proprietà

Restituisce a IXLSBorders collection that represents the borders of a range of cells

Sintassi

proprietà Borders: IXLSBorders;

Esempio

Questo esempio imposta il colore del bordo inferiore della cella B2 sul foglio uno a un bordo rosso sottile

With Workbook.Worksheets[1].Range['B2', 'B2'].Borders[xlEdgeBottom] do
begin
  LineStyle := xlContinuous;
  Weight := xlThin;
  ColorIndex := 3;
end;