Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear friends,
Below is a function that used for testing in Excel 2007 VBA. ------------------------------------------------------ Sub aa() Set conn = CreateObject("ADODB.Connection") conn.Open "provider=Microsoft.ACE.OLEDB.12.0;extended properties='excel 12.0;imex=1';data source=" & ThisWorkbook.FullName Sql = "select A,B from [sheet1$A66000:E66005]" Sheet1.Range("A2").CopyFromRecordset conn.Execute(Sql) End Sub ------------------------------------------------------- The range [sheet1$A66000:E66005] is not work and error occured. Is it possible to make it work? Thank you in advance! :) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 - ADO - More than 65536 rows - Problem ? | Excel Programming | |||
Excel 2007: UDF can't reference row below 65536 | Excel Programming | |||
How do I get my Excel 2007 worksheet to go beyond 65536 rows? | Excel Worksheet Functions | |||
Excel 2007 - ADO - More than 65536 rows - Problem ? | Excel Programming | |||
Why Excel 2007 still have the 65536 raw limit? | Excel Discussion (Misc queries) |