Home |
Search |
Today's Posts |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Got any resources on ADO and recordssets? I'm not familiar with
this... You can download an example kit from Rob Bovey's website that explains everything you need to know about using ADO with Excell workbooks. http://www.appspro.com/conference/Da...rogramming.zip It's written for Excel2003 and earlier so if you need to code for Excel2007 and later then just substitute the using the Jet.4.0 provider with the Ace.12.0 provider. Likewise, substitute using Excel 8.0 in ExtendedProperties with Excel 12.0. Example: for Excel 11 and earlier: "Provider=Microsoft.Jet.OLEDB.4.0;" "ExtendedProperties=Excel 8.0;" for Excel 12 and later: "Provider=Microsoft.Ace.OLEDB.12.0;" "ExtendedProperties=Excel 12.0;" Note that to use ADO with Excel workbooks you don't need to open the file in Excel. Not sure if this is what you want but just offered it as an alternative suggestion as it would allow you to put your code in a separate file (XLA for example) so the data file[s] can be just a normal XLS without code. -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open files within specific file structure | Excel Programming | |||
Task Pane - Excel 2003 | Excel Discussion (Misc queries) | |||
conditional task in Excel 2003 macro | Excel Programming | |||
Task Manager and Excel 2003 | Excel Discussion (Misc queries) | |||
Using EXCEL 2003 how do I open a Lotus Approach 9.5 database? | Excel Worksheet Functions |