You nedd to get the sheet nams which will be a list pass that to for loop and change type argumnet to string use currentiem which will have the sheetname.
And please create separate thread so that each question will have related messages only.
Cheers