LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ADO & CopyFromRecordset performance

Hi there,

Could anybody help?

I am using ADO recordset and Range.CopyFromRecordset method in Exce
VBA application to populate large amount of data into the workseet(s)
I am also using ODBC text driver to open Recordset, Client cursor
original data is in SCV file.

When in debug mode (using Debug.Assert False to break) it performs fas
(I would just hit the Run button). As soon as I remove break point an
let application run alone, it performs terriblly slooow.
For example, 25000 records/lines (3451 KB csv file) are populated in 1
seconds in debug mode vs. 2:16 min in runtime mode ????!!!!

Any advice is welcome!
Thank you.

valentina
:confused

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CopyFromRecordset Problem sunzj Excel Discussion (Misc queries) 0 August 2nd 07 06:32 PM
CopyFromRecordset Bug with Office XP Jeff Meeko Excel Programming 2 April 12th 04 05:21 PM
CopyFromRecordset does nothing E Harris Excel Programming 5 January 8th 04 04:29 PM
copyfromrecordset performance eli silverman Excel Programming 2 January 6th 04 09:29 PM
Copyfromrecordset Bug ? news.btx.dtag.de Excel Programming 1 August 1st 03 07:44 PM


All times are GMT +1. The time now is 04:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"