Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 252
Default how to skip open operation

Hi all,

I am consolidate multiple xls files into one, now in code, I have to use
workbooks.open(...) first, then do retrieve, but this method is too slow. Is
there any way retrieve data from a xls file without opening it.

Clara
--
thank you so much for your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default how to skip open operation

i'm using
DataImport External DataNew Database Query
extensively.
In vba it would be something like:
activesheet.querytables.add...

If the .xls file is huge, though, it'll be opening it up anyway.


On Mar 25, 3:48*pm, clara wrote:
Hi all,

I am consolidate multiple xls files into one, now in code, I have to use
workbooks.open(...) first, then do retrieve, but this method is too slow. Is
there any way retrieve data from a xls file without opening it.

Clara
--
thank you so much for your help


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,276
Default how to skip open operation

Hi Clara,
Take a look to Ron web

http://www.rondebruin.nl/copy3.htm

"clara" wrote:

Hi all,

I am consolidate multiple xls files into one, now in code, I have to use
workbooks.open(...) first, then do retrieve, but this method is too slow. Is
there any way retrieve data from a xls file without opening it.

Clara
--
thank you so much for your help

Reply
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
Change cut/paste operation to cut/insert operation Don Guillett Excel Programming 0 January 17th 07 03:23 PM
How to skip files which are open? Jan Nademlejnsky Excel Programming 1 March 22nd 06 03:41 AM
Open files, skip a folder Steph[_3_] Excel Programming 7 July 14th 05 10:09 PM
Open files in folder - skip if already open Steph[_3_] Excel Programming 6 March 25th 05 06:49 PM


All times are GMT +1. The time now is 04:31 PM.

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"