Вниз
Скачать: 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.067 c
7-38585
Замученный
2002-12-04 16:05
2003.02.13
Работа с com портом


3-38050
AlexAlex2
2003-01-28 11:18
2003.02.13
Редактируемый DBGrid на компонентах dbExpress для Informix


1-38352
Son!K
2003-02-03 21:27
2003.02.13
Copy


3-38135
marsello
2003-01-27 18:35
2003.02.13
пользователей InterBase


4-38639
Dima_1st
2003-01-03 01:02
2003.02.13
создании окна, как диалог из ресурса




   Наверх