Generation

generate functionSun, 20 Nov 2022

Open Microsoft excel Filename text

def open_excel(filename): excel = win32com.client.Dispatch("Excel.Application") wb = excel.Workbooks.Open(filename) excel.Visible = True return wb

Questions about programming?Chat with your personal AI assistant