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

python - Getting ESC characters and non-printables from UDP socket / buffer -

sql - Oracle (+) operator equal number -