Avatar of Philonator
Philonator
Flag for United States of America asked on

How do I get external data from an MS access file (with MDW) to connect to Microsoft excel?

I can open access fine using the following command line but, i cannot get the syntax for it to connect in excel through any of the wizards.  Any help would be appreciated-


"C:\Program Files\Microsoft Office 15\root\office15\msaccess.exe" "\\srv05\database.mdb" /wrkgrp "\\srv05\folder2\jobboss.mdw" /user username /pwd password123
Microsoft OfficeMicrosoft AccessMicrosoft Excel

Avatar of undefined
Last Comment
Philonator

8/22/2022 - Mon
Scott McDaniel (EE MVE )

The Jobboss.mdw file is used with Jobboss (the ERP program). Are you sure you should be using that workgroup file? I do a LOT of work with Jobboss, and that .mdw file is generally used for external reports, utilities, etc.
Philonator

ASKER
Yes it is jobboss.  We have a hundred custom reports in access (jbuds) and it is quering the SQL database.  We are on the latest and greatest jobBOSS and need to rewrite over the hundred custom reports.  I want to pull the information from some of those reports as a stop gap in excel.  I have been doing it with other rougue access databases we have but, the mdw file in a different directory is tripping me up in the syntax in excel connection.
ASKER CERTIFIED SOLUTION
Scott McDaniel (EE MVE )

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Philonator

ASKER
I tried doing exactly that (including JET) and I was getting tripped up somewhere.  Let me revisit it and see where I end up.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Philonator

ASKER
Entered the MDW file in Jet OLEDB:System database and that was  the ticket under advanced properties.  Ironically if you select jet db 4, the connection will test successfully but, excel will crash once you click finish.  Tested in two different versions of excel, still crashed.  I was able to get it to work by selecting access v14, tested ok and pulled in tables correctly.
Philonator

ASKER
Thank you!!