MS Office Forum

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds

enable vba refernce library through macro

  Asked By: Howard    Date: Aug 09    Category: MS Office    Views: 2297

i have a macro which requires "Microsoft Active X Data objects 2.0 libraray
"as a refernce else it gives "Complile error:User defined type not defined" for
the declaration Dim conn As New ADODB.Connection.
Is there by any chance we could enable the VBA refernce through a
macro so that the user of my macro doesnt have to enable it manually



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on enable vba refernce library through macro Or get search suggestion and latest updates.