When trying to run the Create Links button I am getting an error showing " Compile Error: User- Defined type not defined" with the ws As DAO.Workspace portion of Dim ws As DAO.WorkSpace highlighted?
Does anyone know where I might be going wrong?
Joseph O'Malley
In my code I have DAO.Workspace , my phone accidentally put the capital on the S in my above message
Kevin Robertson
Sounds like you may need to add a reference to the Object Library
In the VB Editor click on Tools, then References.
Add the reference 'Microsoft Office 16.0 Access database engine Object Library'
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.