How to rotate the text to 90 degrees on the excel with win32ole?
Gavin C. wrote in post #1002041:
How to rotate the text to 90 degrees on the excel with win32ole?
Set the Orientation property of a Cell or Range object to a value
between -90 and 90.
Where ws is your worksheet object:
ws.Range(‘A1:B3’).Orientation = 90
ws.Cells(1,1).Orientation = -90
David
David M. wrote in post #1002085:
“Automating Windows Applications with Ruby”
Any news on your book?
David M. wrote in post #1002085:
Gavin C. wrote in post #1002041:
How to rotate the text to 90 degrees on the excel with win32ole?
Set the Orientation property of a Cell or Range object to a value
between -90 and 90.Where ws is your worksheet object:
ws.Range(‘A1:B3’).Orientation = 90
ws.Cells(1,1).Orientation = -90David
Thanks.