LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Referencing Libraries through code.

Hi,

I have a tool developed in VBA which references the ActiveX Data Obj Library
2.8. Now this code runs fine on some machines but on others it gives a
reference error. So I have to then add the reference to the ADO library on
that machine and run the code. Is it possible to overcome this problem in
some way and run the code on all machines without any error? If I somehow add
the libraries through coding, will it help? And if yes, how do I add the
libraries through code itself rather than going to the Tools menu and
selecting the reference?

Any help is appreciated.

Thanx.
 
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
Code libraries what format stored in? just out of interest Diddy Excel Discussion (Misc queries) 0 August 5th 08 11:06 AM
Code libraries usable in all of Office? Maury Markowitz Excel Programming 4 March 29th 05 03:49 PM
Referencing Code from another project Robert[_16_] Excel Programming 1 August 28th 04 02:20 AM
Referencing a cell for a value in VBA code Todd Huttenstine[_2_] Excel Programming 2 November 18th 03 02:00 AM
Code referencing the system clock? mcdowell[_2_] Excel Programming 1 October 10th 03 04:40 PM


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

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

About Us

"It's about Microsoft Excel"