win32com - How to get Active workbook instance - Python -


i trying build app in python open excel files. can done using dispatch/dispatchex. but, per requirement, need open file in excel window selected user. in short, excel file has opened in active workbook. tried

win32com.client.getactiveobject("excel.application") 

but doesn't work. suggestions please


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -