Returnerer or sets the vertical alignment of the specified range. Read/write XlVAlign
Syntaks
property VerticalAlignment: XlVAlign;
Beskrivelse
VerticalAlignment can be one of these XlVAlign constants
| xlVAlignBottom |
| xlVAlignCenter |
| xlVAlignDistributed |
| xlVAlignJustify |
| xlVAlignTop |
Eksempel
This example centers the contents of the row two vertically
Workbook.Worksheets[1].Range['A2', 'A2'].EntireRow.VerticalAlignment := xlVAlignCenter;