I have a question over the same. where do I declare the $sheet variable so that iam able to call the setcolumn method. like $sheet=? where do I do this?