Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 681 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 681 Bytes

Excel Types

This package provides type annotations for Excel objects using the win32com package (part of pywin32).

This is also the default type returned by "pyxll.xl_app()" and so this package will be useful for PyXLL users who want code completion in editors like PyCharm or Visual Studio Code.

Example usage:

# Application is the main "Excel.Application" class
from exceltypes import Application

# If using win32com directly
import win32com.client
xl: Application = win32com.client.Dispatch("Excel.Application")

# Or if using pyxll
import pyxll
xl: Application = pyxll.xl_app()

For details of PyXLL please see https://www.pyxll.com.