in reply to don't understand bless
You don't need to bless anything most likely. That error is telling you that $Excel doesn't contain an object and so you can't call a method on it.
bless() is used in creating objects, so to make the error message make more sense think of it as "Can't call method Workbook on a non-object"
Frank Wiles <frank@revsys.com>
www.revsys.com
In Section
Seekers of Perl Wisdom