Run Access query with functions - Excel

I have a query in Access 2010 that calls a function within the database. The query runs successfully when run inside Access. My question is when I try to call this query through VBA in Excel, it does not recognize the function and errors out. Is this possible to perform in Excel?
mak345Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
in short, some functions are accessible from within access, but must be named differently when called from outside (using a different library, in short ADO vs DAO)
the solution is to either use DAO connection (JET library) when connecting from excel, or to change the function name.
0
NorieAnalyst Assistant Commented:
Is the function something that you, or someone else, has created rather than a standard Access function?
0
mak345Author Commented:
It is a function I created.
0
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

NorieAnalyst Assistant Commented:
What does the function do?
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
via ADO/DAO, you cannot call your user functions, as far as I know
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mak345Author Commented:
Thanks, wasn't sure if it was even possible.  Doesn't seem like it is.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.