Hi,
I am trying to open access database using excel application. I am using Office 2010.
my code in excel vba is
Dim db As Object
Set db = VBA.CreateObject ("Access.Application")
db.OpenCurrentDatabase "L:\Client Database\Access_fe.mdb"
db.Application.Visible = True
I have error message
Run-time error '429';
ActiveX component can't create object
at line no 2 where CreateObject ("Access.Application")
my references are:
Visual basic for Application
Microsoft Excel 14.0 Object Library
OLE Automation
Microsoft Office 14.0 Object Library
Microsoft Forum 2.0 Object Library
Microsoft Scripting Runtime
Microsoft Access 14.0 Object Library
Microsoft ActiveX Data Objects 2.8 Library
Microsoft Script control 1.0
Please let me know how to overcome this issue
Thanks
I am trying to open access database using excel application. I am using Office 2010.
my code in excel vba is
Dim db As Object
Set db = VBA.CreateObject ("Access.Application")
db.OpenCurrentDatabase "L:\Client Database\Access_fe.mdb"
db.Application.Visible = True
I have error message
Run-time error '429';
ActiveX component can't create object
at line no 2 where CreateObject ("Access.Application")
my references are:
Visual basic for Application
Microsoft Excel 14.0 Object Library
OLE Automation
Microsoft Office 14.0 Object Library
Microsoft Forum 2.0 Object Library
Microsoft Scripting Runtime
Microsoft Access 14.0 Object Library
Microsoft ActiveX Data Objects 2.8 Library
Microsoft Script control 1.0
Please let me know how to overcome this issue
Thanks