|
With Dialog("Login")
.WinEdit("Agent Name:").Set "mercury"
.WinEdit("Agent Name:").Type micTab
.WinEdit("Password:").SetSecure "44cb1705bb008103e0ff54f59b05d775ad83b839"
.WinButton("OK").Click
End With
With Window("Flight Reservation")
.WinObject("Date of Flight:").Type "083008"
.WinComboBox("Fly From:").Select "Denver"
.WinComboBox("Fly To:").Select "Los Angeles"
.WinButton("FLIGHT").Click
.Dialog("Flights Table").WinList("From").Activate "5709 DEN 05:21 PM LAX 06:19 PM USA $106.00"
datatable.AddSheet("name")
datatable.ImportSheet "d:\temp.xls",1,"name"
msgbox DataTable.GetSheet ("name").GetCurrentRow
DataTable.GetSheet("name").SetNextRow
msgbox DataTable.GetSheet ("name").GetCurrentRow
msgbox DataTable.GetSheet("name").GetCurrentValue
'msgbox DataTable.GetSheet ("name").value
' .WinEdit("Name:").Set DataTable.GetSheet("name").
.WinEdit("Name:").Set "panda"
.WinButton("Insert Order").Click
End With
怎么把单元格的值取出来呀?气死了.唉 |
|