With sheets() you get a list (or one) existing worksheet, you can't use it to create one. (I guess)
Try adding a worksheet, and then using the sheets() method, then it will probably work.
In reply to Re^3: Excel::SpreadSheet : Can't call method "set_column" on an undefined value
by Anonymous Monk
in thread Excel::SpreadSheet : Can't call method "set_column" on an undefined value
by nathanvit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |