Passing UDF From Access to Excel

Littlemalky

Board Regular
Joined
Jan 14, 2011
Messages
223
Hi, I have a series of queries in Access that use a UDF I created. I'm trying to link these queries into an excel sheet via ODBC, but the data won't pass through because it doesn't recognize the UDF from Access. I just want to be able to refresh the queries from Excel to feed my report whenever I need.

Is there a way to get around this?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
use Access to export the query to Excel sheet, (easy)
or
use excel to take control of access and open the query, then PASTEFROMRECORDSET. (hard)
or,
from excel, import the query (w broken function) then use macro to add the function in the column,(as excel UDF) (midway, kinda easy)
 
Upvote 0
So basically the only solution is to break all of my tables in Excel because there is no way to pass-through the UDF? It was really nice just hitting the Refresh All button to refresh all of my queries and to have tables established with formula references to those tables. I'm trying to avoid having to modify every formula in my report to reference a completely new data set.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top