Can you give a more detailed explanation please ? what is it that you are trying to do ?
Are you querying data from Access into Excel via ODBC ?
If so, what Access functions do you think are not available in Excel ?
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
I have access doing some data sorting via an access query..
This query is then transfered to excel using an ODBC connection linked to that mdb..
the problem is, this query uses a function from a module within the mdb and ODBC is not allowing it through..
My question is, how to I allow the function through the odbc connection?
Actually another option is to figure out how to count network business days between two dates via sql.. this way I would avoid the need for the function all together..
If anyone has any advice.. I would appreciate it..
If this needs to be brought into excel you will not be able to use a custom function you have created in Access. If, however, you can bring both dates back, you can use the NETWORKDAYS function in excel to get your results. This, combined with the 'copy down formulae' attribute of the querytable (the object created when returning data to excel using ODBC) should give you what you need.
You will need to make sure you have the ANALYSIS TOOLPAK add-in installed to use the NETWORKDAYS function and the querytable property is set by right clicking on the data after it is returned and choosing 'Data Table Options'
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
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.