Главная страница
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.019 c
3-67101
div
2003-04-02 14:41
2003.04.21
Помогите найти Platinum ErWin 3.5.2 или выше


1-67301
ferrik
2003-04-11 18:33
2003.04.21
Обращение к компонентам


1-67288
Zheka
2003-04-10 16:59
2003.04.21
StringGrid и способы сохранения таблиц


7-67574
KPY
2003-02-28 16:24
2003.04.21
Как спрятать все иконки на рабочем столе?


14-67478
Style
2003-04-03 11:02
2003.04.21
Вот пошутил над Юзверями 1-ого апреля :)