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

git - TortoiseGit does not show commit log properly -

string - Using python and postgres, variables within execute function? -