Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.04.21;
Скачать: CL | DM;

Вниз

Delphi & Excel   Найти похожие ветки 

 
Лана Розанова   (2003-04-09 12:48) [0]

Как из Delphi в Excel обрамить ячейку?
СПАСИБО!!!


 
Hooch ©   (2003-04-09 13:13) [1]

// бордюр внешний
Range.Borders[xlDiagonalDown].LineStyle := xlNone;
Range.Borders[xlDiagonalUp ].LineStyle := xlNone;

Range.Borders[xlEdgeLeft].LineStyle := xlContinuous;
Range.Borders[xlEdgeLeft].Weight := xlMedium;
Range.Borders[xlEdgeLeft].ColorIndex := xlAutomatic;

Range.Borders[xlEdgeTop].LineStyle := xlContinuous;
Range.Borders[xlEdgeTop].Weight := xlMedium;
Range.Borders[xlEdgeTop].ColorIndex := xlAutomatic;

Range.Borders[xlEdgeBottom].LineStyle := xlContinuous;
Range.Borders[xlEdgeBottom].Weight := xlMedium;
Range.Borders[xlEdgeBottom].ColorIndex := xlAutomatic;

Range.Borders[xlEdgeRight].LineStyle := xlContinuous;
Range.Borders[xlEdgeRight].Weight := xlMedium;
Range.Borders[xlEdgeRight].ColorIndex := xlAutomatic;


// бордюр внутренний
Range.Borders[xlDiagonalDown].LineStyle := xlNone;
Range.Borders[xlDiagonalUp ].LineStyle := xlNone;

Range.Borders[xlEdgeLeft].LineStyle := xlContinuous;
Range.Borders[xlEdgeLeft].Weight := xlMedium;
Range.Borders[xlEdgeLeft].ColorIndex := xlAutomatic;

Range.Borders[xlEdgeTop].LineStyle := xlContinuous;
Range.Borders[xlEdgeTop].Weight := xlMedium;
Range.Borders[xlEdgeTop].ColorIndex := xlAutomatic;

Range.Borders[xlEdgeBottom].LineStyle := xlContinuous;
Range.Borders[xlEdgeBottom].Weight := xlMedium;
Range.Borders[xlEdgeBottom].ColorIndex := xlAutomatic;

Range.Borders[xlEdgeRight].LineStyle := xlContinuous;
Range.Borders[xlEdgeRight].Weight := xlMedium;
Range.Borders[xlEdgeRight].ColorIndex := xlAutomatic;

Range.Borders[xlInsideVertical].LineStyle := xlContinuous;
Range.Borders[xlInsideVertical].Weight := xlThin;
Range.Borders[xlInsideVertical].ColorIndex := xlAutomatic;
Range.Borders[xlInsideHorizontal].LineStyle := xlContinuous;
Range.Borders[xlInsideHorizontal].Weight := xlThin;
Range.Borders[xlInsideHorizontal].ColorIndex := xlAutomatic;


где Range - Ячейка



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

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

Наверх




Память: 0.47 MB
Время: 0.016 c
4-67610
MC.Daemon
2003-02-20 16:16
2003.04.21
Активизация процесса:


1-67222
незнайка
2003-04-09 10:59
2003.04.21
Not Responding и таймеры...


1-67339
bkv
2003-04-09 12:54
2003.04.21
Свойство TCanvas.ClipRect


1-67244
NikB
2003-04-10 12:01
2003.04.21
Problema s Transparent u tImageList.


6-67414
matlash
2003-02-20 15:37
2003.04.21
Панель для MS Internet Explorer.