Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 21st, 2003, 05:20 AM
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default UDF's referencing access

Hi,

I am trying to create a UDF that gains its results from an Access database. Is this possible?

I understand how to run queries using ADO and have the results returned to excel but I can't seem to find anything that shows how to use a UDF.

Any help would be greatly appreciated.

Thanks

Tom

 
Old July 21st, 2003, 06:32 AM
Registered User
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!

There's a gentle and brief intro to UDFs in John Green's Excel 2000 VBA (pp 23 - 27).

I'm presuming you are getting data from your db, processing it in a given cell or cells and reading the result there. I'd be inclined to import the data into named cells and then use the UDF to process it.

Alf





Similar Threads
Thread Thread Starter Forum Replies Last Post
referencing html... Jayahar ASP.NET 3.5 Basics 1 September 2nd, 2008 10:41 PM
Referencing new node in IE roccosiffredi Ajax 2 May 4th, 2007 03:30 AM
Referencing a subform scandalous Access 2 March 16th, 2007 07:05 AM
Referencing another field and more scandalous Access VBA 1 January 30th, 2007 09:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.