Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Getting Access Query Data to Excel

Hi All. I have an Excel add-in function that gets data from access. It
works fine until the access query has a custom function - the query craps out
because it cannot find the fuction; the function is setup in access with a
reference to my "library.mda" file. The query runs fine from access, but not
when I try to openrecordset from excel.

Public Function GetRsFromAccess(sheetname As String, dbname As String,
dbpath As String, rsname As String, pasteintocell As String)

Dim db As DAO.database
Dim rs As DAO.Recordset

Set db = OpenDatabase(dbpath & dbname)
Set rs = db.OpenRecordset(rsname)

I get the Error Message:
Error Number: 3085
Error Description: Undefined function 'Convert711ToStripped171' in
expression."

Thanks for the help.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Data Query from Access Luke Bailey Excel Discussion (Misc queries) 0 February 13th 07 11:24 PM
excel chart with data source from an access query rahmad Charts and Charting in Excel 7 January 31st 07 03:55 AM
VLookup to merge Access Query data into Excel Report Vira-SJH Excel Discussion (Misc queries) 0 January 10th 06 07:18 PM
Create Excel PivotTable that uses Access query as external data so alexhatzisavas Excel Programming 0 August 30th 05 08:06 AM
Excel - MS Query - changing location of Access data source Thomas Becker Excel Programming 7 June 1st 05 02:21 PM


All times are GMT +1. The time now is 11:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"