Sub test()
Dim xlWkApp As Object, xlWk As Object
Set xlWkApp = CreateObject("excel.application")
With xlWkApp
.Visible = True
Set xlWk = .Workbooks.Open("C:\book2.xls")
xlWk.Sheets(1).Range("a1") = ThisDocument.Tables(2).Cell(2, 6)
End With
End Sub作者: GBKEE 時間: 2010-10-19 16:54