I am using an Access query as the data source for an Excel pivot table. My Access query uses a custom function which generates the "undefined function" error when I try to base a pivot table on that query. I tried pasting the function into an Excel module, but that didn't help. I'm guessing that I would need to rewrite the query to return the original data and then use the function in excel to get the results that I want. Unfortunately, I need to do the calculation in Access because these results are part of a sub-query that needs to be processed further before returning results to the pivot table. Any ideas?
thanks
thanks