+ Reply to Thread
Results 1 to 7 of 7

Make A Table with ADODB.Connection

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Make A Table with ADODB.Connection

    I have an example file attached.
    Original file has approx. 20.000 Rows and many names and data.
    I want to make a table from records using ADODB.Connection method.
    I have tried different ways to get data as for next, for each etc. but theye are very slow and locking the file.
    May be, by using ADODB.Connection method this issue could be solved with your value and kind assistance.
    You can find detail and explanation at attached file.

    Thanks in advance four your help and support.

    Regards,
    turist.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Make A Table with ADODB.Connection

    Why ADO?
    Autofilter would be good enough.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Re: Make A Table with ADODB.Connection

    Dear jindon,
    Thanks a lot for your quick reply.
    I tried and found result in a very short seconds for 150.000 records.

    But, still I wonder how to solve with ADO. If possible I'd like to know with ADO too.

    Regards.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Make A Table with ADODB.Connection

    ADO
    Please Login or Register  to view this content.

  5. #5
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Make A Table with ADODB.Connection

    ADO on the open workbook causes memory leaks and is best avoided. What's wrong with Jindon's original code?

  6. #6
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Re: Make A Table with ADODB.Connection

    Great,
    Thanks a lot Dear jindon.
    Working very good.

  7. #7
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Re: Make A Table with ADODB.Connection

    Quote Originally Posted by Kyle123 View Post
    ADO on the open workbook causes memory leaks and is best avoided. What's wrong with Jindon's original code?
    There is no wrong with Jindon's code.
    I only wanted to learn how to use ADO instead of autofilter.
    That's it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Expected table is not in the expected format - ADODB Connection to Read Only Excel file
    By Roshan10043 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2018, 10:54 AM
  2. ADODB Connection
    By kenny.fsw in forum Access Tables & Databases
    Replies: 12
    Last Post: 08-06-2015, 01:17 PM
  3. ADODB connection - Changing connection path via fileDialog
    By cajand in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-08-2015, 08:06 AM
  4. ADODB connection - start on 2nd row?
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-28-2011, 02:31 PM
  5. VBA and ADODB.Connection
    By AedanLee in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-29-2010, 06:37 AM
  6. excel ADODB.connection to itself ? how?
    By djorkaef in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2010, 11:28 AM
  7. ADODB Connection String
    By Nigel C in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2005, 03:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1