ش | ی | د | س | چ | پ | ج |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
("Set xls=CreateObject("Excel.Application
. . . . . . . Set Wbk=xls.Workbooks.Open
("Set xlsht=Wbk.WorkSheets("Sheet1
Dim db As Dao.DataBase
Dim rst As Dao.RecordSet
xlsht.Range("A2").Select
("Set rst=db.OpenRecordSet("Select * From Table1
rst.AddNew
rst.Fields("ColA2")=xlsht.Range("A2").Value
rst.Update
rst.Close
Set rst=Nothing
Set db=Nothing