> i want to compare the content in excel,but i don't know whick module to use! > can you help me? Read "Python programming on Win32" book, use win32api module. According to Chad's advices about Excel (VBA) constants, you can find following link usefull as well. http://fox.wikis.com/wc.dll?Wiki~ExcelConstants~VFP HTH Petr