'ä»workbookéåæèŠåå¥æ°æ®çsheet'

def getWriteSheet(self, cname):

    if (cname in self.repeatUse):
        newSheet = self.xbook.getSheetByIndex(self.repeatUse.pop(cname))
    elif (len(self.useless) > 0):
        newSheet = self.xbook.getSheetByIndex(self.useless.pop((-1)))
        newSheet.Name = cname
    else:
        newSheet = self.xbook.getXLSX().Sheets.Add()
        newSheet.Name = cname
    return newSheet
