'Èç¹ûWorkbookÒÑŸ­Žò¿ªÐèÒªÏÈ¹Ø±ÕºóŽò¿ª
forcedClose£ºÊÇ·ñÇ¿ÖÆ¹Ø±Õ£¬ºóŽò¿ªžÃWorkbook'

def getWorkbook(self, forcedClose=False):

    try:
        wn = len(self.__xapp.Workbooks)
    except:
        print '\xb3\xcc\xd0\xf2\xd2\xec\xb3\xa3\xcd\xcb\xb3\xf6\xa3\xac\xd5\xe2\xbf\xc9\xc4\xdc\xca\xc7\xc4\xe3\xb4\xf2\xbf\xaa\xb1\xe0\xbc\xad\xc1\xcb"\xc4\xb3\xce\xc4\xbc\xfe"\xb6\xf8\xc3\xbb\xd3\xd0\xb1\xa3\xb4\xe6\xb8\xc3\xce\xc4\xbc\xfe\xd4\xec\xb3\xc9\xb5\xc4\xa3\xac\xc7\xeb\xb1\xa3\xb4\xe6\xb8\xc3\xce\xc4\xbc\xfe'
        sys.exit(1)
    for x in range(0, wn):
        Workbook = self.__xapp.Workbooks[x]
        if (self.fileName == os.path.join(Workbook.Path, Workbook.name)):
            if forcedClose:
                Workbook.Close(SaveChanges=False)
            return False
    self.__xlsx = self.__xapp.Workbooks.Open(self.fileName)
    return True
