Public Sub InformationManagement(myTable As String)
Dim myaccess As Object
Dim mydata As String
mydata = ThisWorkbook.Path & "\Management.mdb"
Set myaccess = CreateObject(mydata)
With myaccess
.Visible = True
.DoCmd.OpenTable myTable
.DoCmd.Maximize
End With
Set myaccess = Nothing
End Sub
Row -> Set myaccess = CreateObject(mydata) 中出现消息错误“Run-time error '429' ActiveX component can't create object”
有谁知道如何解决这个问题?非常感谢您