sqlconnection="DSN=excel files;DBQ=D:\2.xls"
sqlcommand="Update [Sheet1$] set [Password]='1234' where [Username]='QuickTest'"
Set oExcel=CreateObject("adodb.connection")
oExcel.Open sqlconnection
oExcel.Execute(sqlcommand)
oExcel.Close
Set oExcel=nothing