in reply to Re: Re: Question about Win32::OLE and Excel
in thread Question about Win32::OLE and Excel
i'm not sure what your code is trying to accomplish.. but when I want to loop through columns I use the following struct
That code takes 5 letters, and loops over them, populating $_ with the current letter each time. The statement inside the loop, Sets the Bold property for rows 1 through 5 of the current column. Is this helping you at all? Try and repost what you want this code to do. Hope I'm helpingfor (qw(A B C D E)) { $sheet->Range($_."1:".$_."5")->Font->{Bold} = 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Question about Win32::OLE and Excel
by Streen (Sexton) on Apr 21, 2004 at 08:09 UTC | |
by Grygonos (Chaplain) on Apr 21, 2004 at 11:38 UTC | |
by Streen (Sexton) on Apr 21, 2004 at 12:32 UTC | |
by Streen (Sexton) on Apr 21, 2004 at 14:04 UTC |