Answers for "python integrated with activeX"

0

python integrated with activeX

import win32com.client

xlApp = win32com.client.Dispatch("Excel.Application")
xlApp.Visible=1

workBook = xlApp.Workbooks.Open(r"C:\MyTest.xls")
print str(workBook.ActiveSheet.Cells(i,1))
workBook.ActiveSheet.Cells(1, 1).Value = "hello"                
workBook.Close(SaveChanges=0) 
xlApp.Quit()
Posted by: Guest on June-09-2020

Code answers related to "python integrated with activeX"

Python Answers by Framework

Browse Popular Code Answers by Language