Курсовая работа: Основы программирования на VBA модель объектов Exel

.ColorIndex = xlAutomatic

End With

With Selection.Borders(xlEdgeBottom)

.LineStyle = xlContinuous

.Weight = xlThin

.ColorIndex = xlAutomatic

End With

With Selection.Borders(xlEdgeRight)

LineStyle = xlContinuous

Weight = xlThin

ColorIndex = xlAutomatic

End With

Range("F2").Select

ActiveCell.FormulaR1C1 = "Цена 1 л бензина"

'центровка записи

With Selection.HorizontalAlignment = xlCenter

Selection.VerticalAlignment = xlCenter

Selection.WrapText = True

Selection.Orientation = 0

Selection.AddIndent = True

Selection.IndentLevel = 0

Selection.ShrinkToFit = True

Selection.ReadingOrder = xlContext

Selection.MergeCells = False

Selection.HorizontalAlignment = xlCenter

End With

Columns("F:F").ColumnWidth = 15

Rows("2:2").EntireRow.AutoFit

Columns("F:F").EntireColumn.AutoFit

К-во Просмотров: 618
Бесплатно скачать Курсовая работа: Основы программирования на VBA модель объектов Exel