excel取某一数据的列

>>> xlApp = win32com.client.Dispatch('Excel.Application')
>>> xlBook = xlApp.Workbooks.Open("d:\\3.xls")

a=xlBook.Worksheets("Sheet1")

c = a.Cells.Find("dd")

print c.Row

print c.Column

原文地址:https://www.cnblogs.com/dengyigod/p/3083005.html