Главная страница
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.02 c
3-67179
Ренат
2003-04-03 16:43
2003.04.21
BDEClientDataSet и Lookup поле


1-67207
tytus
2003-04-10 15:04
2003.04.21
XML


14-67500
Wild Wizard
2003-04-03 16:00
2003.04.21
Кстати есть интересная идея....


14-67458
Alex_t
2003-04-02 20:59
2003.04.21
Firebird


14-67482
Judith
2003-04-03 12:30
2003.04.21
И это апрель?!