ACC: How to Use DAO to Link an Excel SpreadsheetLast reviewed: February 24, 1998Article ID: Q173748 |
The information in this article applies to:
SUMMARYAdvanced: Requires expert coding, interoperability, and multi-user skills. You can use data access objects (DAO) to programmatically link a Microsoft Excel spreadsheet using Microsoft Visual Basic for Applications code.
MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/The following example uses DAO in a Visual Basic procedure to link a Microsoft Excel spreadsheet.
REFERENCESFor more information about connection strings, search the Help Index for "Connect Property," or ask the Microsoft Access 97 Office Assistant. You can also obtain more information about connection strings from the following Microsoft World Wide Web site:
http://www.microsoft.com/ado/dao/daoconnectstring.htmNOTE: Because the Microsoft Web site is constantly updated, the site address may change without notice. If this occurs, link to the Microsoft home page at the following address:
http://www.microsoft.com/For more information about TableDefs, search the Help Index for "DAO collections, TableDefs," or ask the Microsoft Access 97 Office Assistant. For additional information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q163435 TITLE : VBA: Programming Resources for Visual Basic for Applications |
Additional query words: inf vba
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |