Remote Network And System Administration Job In IT And Networking

Microsoft Access Expert For Help Connecting Excel To Access

Find more Network And System Administration remote jobs posted recently Worldwide

I need a Microsoft Access expert to consult with me on the following problem I am experiencing connecting Excel To an Access database using VBA.

Ideally, the candidate would remote desktop into my machine and get the setup correct.

In addition, since this is going to be a commercial product, we need advice on how to make sure that Excel can use Access seamlessly on our users computers without running into these type of setup problems.

Here is the issue:

I am running the following software:

Windows 7 (64 bit)
Excel 2013 (32 bit)
Access 2016 (32 bit)

When I use the following VBA code to connect Excel 2013 to my Access 2016 database, Excel immediately crashes:

---- begin ----
Dim objConn As ADODB.Connection
Dim strDBConnection As String

strDBConnection = Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Me\\Documents\\MyAccessDB.accdb;Pers ist Security Info=False;

Set objConn = CreateObject(ADODB.Connection)
objConn.Open strDBConnection
---- end ----

I then tried using LATE binding and unchecking the reference to Microsoft ActiveX Data Objects 6.1 Library in Excel 2013 and ran this code:

---- begin ----
Dim objConn As Object
Dim strDBConnection As String

strDBConnection = Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Me\\Documents\\MyAccessDB.accdb;Pers ist Security Info=False;

Set objConn = CreateObject(ADODB.Connection)
objConn.Open strDBConnection
---- end ----

In this case Excel does not crash but reports the following error:

Method Open of object _Connection failed

I read some message board posts that recommended installing:

Microsoft Access Database Engine 2016 Redistributable
https://www.microsoft.com/en-us/down....aspx?id=54920

However, this did not solve the problem.

I even tried using just about every connection string for Access from ConnectionStrings.com but none of them work.

From what Ive read in the message boards (but didnt understand completely) the problem may have something to do with the fact that my Windows 7 is 64 bit and the Excel and Acess I am using are 32 bit.

My BIG concern is that I am developing a commercial Excel spreadsheet and now Im wondering what problems my users will experience with the software depending on their version of Windows, Microsoft Office, and whether both (or one) are 32 or 64 bit.
About the recuiter
Member since Aug 30, 2017
Adam S.
from Maryland, United States

Candidate shortlisted and hiredHiring open till - Jul 25, 2022

Work from Anywhere

40 hrs / week

Hourly Type

Remote Job

$34.78

Cost

Looking for help? Checkout our video tutorial
How to search and apply for jobs

How to apply? Do you have more questions about the Job?
See frequently asked questions

Similar Projects

Create Store display database in MC access

A finished database that track displays and inventory in multiple locations.

Freelancer needs to be proficient in Mc access

Excel data entry work. Pay is good and work is simple.

I need simple excel data work done. Basically organization. Pay is good, and work is easy.

Survey creation, analysis, and visualization

A boutique consulting firm specializing in Strategic Communication is looking for a top-notch data expert. You will be working with senior consultants to create advance assessment tools for the organizations of tomorrow!
If you thrive in uncertai...read more

MS office and communication configuration for Dubai based retail. and distribution consultant

Someone who can work patiently with a skilled individual consultant working from home

Need to extract lawyers' email addresses from their websites

We need you to get law firms website addresses from various websites (rankings etc.) and then extract from these websites the lawyers email addresses, full names, positions, company name, LinkedIn & Facebook profile URLs (if available). We want to...read more