No. Not sure why it has put this in. My code is;
Dim objAcc
Set objAcc = CreateObject("Access.Application")
objAcc.Visible = False
path = c:\working from home\test db connection.mdb"
objAcc.OpenCurrentDatabase path
objAcc.DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "table1"...
I am trying to write some code into a data access page which will export data from an access database.
I am gettinging the error "ActiveX component cannot create object Access.Application" when running the following code:
Dim objAcc
Set objAcc = CreateObject("Access.Application")...
Having done some research on the error received, what I dont understand is why the error is returned when I have not deployed the DAP onto a web server.
I am simply running the DAp from a network locvation and connecting to a database in the same location (just one directory up)
According to...
Please help!!
I have created a data access page for users to enter data into an access database.
I would also like the users to be able to export data to an excel file so am working on some code within the DAP (VB Code) to enable the user to do so. Having searched high and low on the net, I...
I am having some difficulty with the above error "object required" being returned when running a sub procedure in an access database. Quite simply I would like the on click command to return a message box if a particular condition is met. Here is my code:
Private Sub Command130_Click()
Dim...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.