Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Ruby and Excel stuff

12 views
Skip to first unread message

Assaf Peled

unread,
Feb 6, 2012, 2:58:40 AM2/6/12
to
Hi,

I'm using the WIN32OLE extension to handle Excel files through Ruby.
I can't seem to do the simple task of cell alignment to the left/
center, when I use :

sheet.columns(2).HorizontalAlignment = xlCenter (or xlLeft for that
matter).

Did anyone encountered that problem and knows how it can be solved ?

Thanks a lot !
0 new messages