Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.02.13;
Скачать: 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 вся ветка

Текущий архив: 2003.02.13;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.022 c
1-38245
bnn
2003-02-05 10:04
2003.02.13
Конвертор DMF файлов


14-38523
Romychk
2003-01-28 10:23
2003.02.13
Роутер из старого компа 386


14-38551
Stager
2003-01-26 22:02
2003.02.13
Поиск утечек памяти


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


14-38568
Sergo
2003-01-25 12:48
2003.02.13
Для тех кто живет в США