Вниз
Скачать: CL | DM;

Границы ячеек в Excel   Найти похожие ветки 

← →
ef2000   (2003-01-31 17:23) [0]

Здравствуйте!

Подскажите как задать границу определенной ячейке, или диапазону ячеек в Еxcel. Использую TExcelApplication.

Заранее благодарен.


← →
ef2000   (2003-02-01 15:34) [1]

up


← →
ef2000   (2003-02-03 08:24) [2]

2up


← →
Романов Р.В. ©   (2003-02-03 08:50) [3]

uses Excel97;

procedure SetEdge(Range: OleVariant);
begin
Range.Borders[xlEdgeLeft].LineStyle := xlContinuous;
Range.Borders[xlEdgeLeft].Weight := xlMedium;
Range.Borders[xlEdgeTop].LineStyle := xlContinuous;
Range.Borders[xlEdgeTop].Weight := xlMedium;
Range.Borders[xlEdgeBottom].LineStyle := xlContinuous;
Range.Borders[xlEdgeBottom].Weight := xlMedium;
Range.Borders[xlEdgeRight].LineStyle := xlContinuous;
Range.Borders[xlEdgeRight].Weight := xlMedium;
if Range.Columns.Count > 1 then
begin
Range.Borders[xlInsideVertical].LineStyle := xlContinuous;
Range.Borders[xlInsideVertical].Weight := xlThin;
end;
if Range.Rows.Count > 1 then
begin
Range.Borders[xlInsideHorizontal].LineStyle := xlContinuous;
Range.Borders[xlInsideHorizontal].Weight := xlThin;
end;
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.01 c
1-38301
Kotka
2003-02-06 00:33
2003.02.13
Инфа о форме


1-38256
Ihtiandr
2003-02-05 15:02
2003.02.13
items


4-38659
inki35
2002-12-29 15:36
2003.02.13
dll+hook


8-38401
Alex
2002-10-31 21:29
2003.02.13
Изображение в TImage


6-38430
evgeniy2
2002-12-19 12:56
2003.02.13
post




   Наверх