Code:
<form name="test1" method="post" action="http://ExternalSQLQuery.asp"> <input type=hidden name="database" value="bugs"> <input type=hidden name="sql" value="
<form name="test1" method="post" action="http://ExternalSQLQuery.asp"> <input type=hidden name="database" value="bugs"> <input type=hidden name="sql" value="
import win32com.client
xlApp = win32com.client.Dispatch("Excel.Application")
xlApp.Visible=1
xlWb = xlApp.Workbooks.Open(r"C:\Template_Rev_3.2.xls")
print xlApp.Worksheets("sheet1").Name
Leave a comment: