Replies: 1 comment 1 reply
-
Using pywin32/win32com it's like this:
```
import win32com.client as win32
win32.gencache.GetClassForProgID('Excel.Application') # May not need this, depending on context
win32.constants.xlCalculationManual
```
I could make this slightly cleaner I agree.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lukedays
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Steven!
I searched the source but couldn't find any clues... How can I reference COM enumerations? (such as xlCalculationManual)
https://docs.microsoft.com/en-us/office/vba/api/excel.xlcalculation
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions