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 September 10th, 2003, 10:14 AM
Authorized User
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default Referencing an ActiveX DLL from Excel


I have written an ActiveX DLL with VB6, and now I want to reference it from an Excel 2002 spreadsheet, so that the procedures it contains can be called from the spreadsheet.

Please can you tell me how to reference it? I know that there is a way to get a window up, showing which DLLs are to be used in the workbook, but I can't find the menu option to get to this window.



Old September 10th, 2003, 10:41 AM
Authorized User
Join Date: Sep 2003
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post

Sorry, my mistake - this is trivial.

From the VB Editor, select Tools -> References.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Advantages /Disadvantages of ActiveX DLL & ActiveX priyank Beginning VB 6 6 February 19th, 2007 11:34 AM
remove Excel Toolbars using an ActiveX DLL maxpotters Pro VB 6 1 September 11th, 2005 08:05 AM
Removing Excel toolbars from within ActiveX DLL maxpotters Excel VBA 1 September 11th, 2005 08:05 AM
How do I debug an ActiveX DLL referenced by Excel? James Diamond Pro VB 6 4 July 19th, 2004 01:05 PM
Referencing a spreadsheet from an ActiveX DLL James Diamond Excel VBA 2 January 23rd, 2004 07:21 AM

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