'excel vba 代码
Sub fig3w()
With CreateObject("access.application")
If .Version = "11.0" Then .AutomationSecurity = 1
lj = ThisWorkbook.Path
WB = ThisWorkbook.FullName
If Dir(WB & ".MDB") <> "" Then Kill WB & ".MDB"
.NEWcurrentdatabase (WB & ".MDB")
For Each sh In ThisWorkbook.Sheets
.docmd.TransferSpreadsheet , , sh.Name, WB, True, sh.Name & "!"
Next