After searching for 2 weeks to find the solution, I post here and 10 minutes later find a solution. To fix the issue, run msaccess in /decompile mode and then open the Visual Basic editor and compile the code from the debug menu. I found several procedures that were left over from prior updates...
I have an Access ADP project that was created in Access 2003. Recently we upgraded to Access 2010. The APD connects to an SQL 2000 database. The ADP works fine until I try to make changes. After making changes and reopening the project, the project crashes shortly after I open it. It happens...
The code below will automate Excel but you may want to consider bypassing Excel and use the database as your merge source.
Private Sub cmdReportExcel_Click()
Dim xlApp As Excel.Application
Dim xlWB As Excel.Workbook
Dim xlWS As Excel.Worksheet
Dim strFileName As String
Dim rs As...
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.