Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default References to ADO library for ACCESS connection

I have a template workbook (MASTer) which runs a number of
Macros that get data from Access. I have added a reference
to the ADO library (in VBE Tools, Reference and ticked
Microsoft ActiveX Data Objects x.x Object Library) to
allow this connection. The user will then copy this
template workbbok to create a workbook that he/she can use.

However when I copy this workbook (in Windows Explorer)
the Copy of MASTER workbook contains all macros etc. but
the references I selected are no longer ticked. All the
references that were ticked by default remain ticked, i.e.
Visual Basic for Applications, Microsoft Excel 10.0 Object
Library, OLE Automation, etc. but not the ones I have
selected.

Is there some way of copying a workbook so that references
I select remain ticked. Alternatively is there a way I can
run a macro or something to select them automatically. I
need the user to be able to run a copy of the MASTER
workbook with all functions working.

Thanks for your help.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default References to ADO library for ACCESS connection

Is ADO available (installed & registered) on the users' PC? It has to be the same version as the one that you have 'ticked' in.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default References to ADO library for ACCESS connection

YES, all ok. Its like only the deafult selections get
copied
-----Original Message-----
Is ADO available (installed & registered) on the users'

PC? It has to be the same version as the one that you
have 'ticked' in.
.

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
always recheck data connection library for latest connection strin FurmanGG Excel Discussion (Misc queries) 0 September 14th 07 04:48 PM
Library references Amanda[_5_] Excel Programming 1 January 6th 04 06:40 PM
change VBAProject References Library amy Excel Programming 1 January 6th 04 12:55 PM
Object Library References Nelson[_5_] Excel Programming 5 December 10th 03 08:54 PM
Object Library References Nelson[_6_] Excel Programming 1 December 10th 03 03:31 AM


All times are GMT +1. The time now is 05:47 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"