Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi there
Are the following pieces of code equivalent, especially in terms of performance? I'm trying to summarize a huge Access database for further analysis in Excel and need to improve efficiency of data transfer between the two apps as far as possible ... I'd appreciate any ideas (1) strSQL = "SELECT * FROM Customers" rsData.Open strSQL, cnSrc Workbooks("C:\book1.xls").Worksheets("Sheet1").Ran ge("A1").CopyFromRecordSet (2) strSQL = "SELECT * INTO [Excel 8.0;Database=C:\book1.xls].[Sheet1] FROM Customers" cnSrc.Execute strSQL I can't judge this for myself (yet), since the second procedure isn't returning any records ... Is this line of enquiry worth pursuing? Best regards Loane |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I forgot my password, how do I open a sheet if I forgot the pass | Excel Worksheet Functions | |||
Excel 2007 Macro/Link Issue (apologies for cross-posting) | Links and Linking in Excel | |||
Apologies for triple post | New Users to Excel | |||
Apologies | Excel Programming | |||
My Apologies | Excel Programming |