Devuelve o establece el estilo de
línea del borde. Lectura/escritura LongWord
Sintaxis
Descripción
LineStyle puede ser una de estas constantes XlLineStyle
| xlContinuous |
| xlDash |
| xlDashDot |
| xlDashDotDot |
| xlDot |
| xlDouble |
| xlSlantDashDot |
| xlLineStyleNone |
Ejemplo
Este ejemplo pone un borde alrededor del rango A1:C5
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeTop].LineStyle := xlDot;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeRight].LineStyle := xlDot;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeBottom].LineStyle := xlDot;
Workbook.Sheets[1].Range['A1', 'C5'].Borders[xlEdgeLeft].LineStyle := xlDot;
Este ejemplo es igual al anterior