Nick_Net2004
Well-known member
- Joined
- May 11, 2004
- Messages
- 51
How do you set the property so that the text I am am writting in the cell is horizontally and vertically centered in the cell. It seems not to work in vb.net???
Heres what I did
Didnt work and didnt find anything about vertical either
Heres what I did
Code:
If hAlign = True Then
workSheet.Application.Range(cell).HorizontalAlignment = HorizontalAlignment.Center
End If
Didnt work and didnt find anything about vertical either