in reply to Creating desired number of worksheets in excel

you mean ?

for(1.2..$count) { $Sheet = $Book->Worksheets($_); $Sheet->Activate(); }