Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default copying problems..........

i want to copy data from different workbooks(s1,s2) to s3
but without opening the worksheets(s1,s2)..
if the sheets r opened ,it works fine..
if not,it says "error"-subscription out of range..

kindly help me


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,119
Default copying problems..........

To copy from a workbook it must be open. The only way around it is to query
the workbook with an ADO DB recordset which is a whole pile of work and
really only applies to certain circumstances. Why not just open the book and
close it when you are done?
--
HTH...

Jim Thomlinson


"raja" wrote:

i want to copy data from different workbooks(s1,s2) to s3
but without opening the worksheets(s1,s2)..
if the sheets r opened ,it works fine..
if not,it says "error"-subscription out of range..

kindly help me


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
Problems with copying functions martinbarnes Excel Discussion (Misc queries) 3 April 1st 08 09:12 PM
copying formulas problems anier614 Excel Discussion (Misc queries) 2 September 27th 07 04:51 PM
Problems copying XLA file Trefor Excel Discussion (Misc queries) 3 November 28th 05 04:04 PM
integrity problems while copying Martina Excel Discussion (Misc queries) 0 August 5th 05 09:52 AM
Problems with read only and copying canieleader Excel Discussion (Misc queries) 1 July 26th 05 11:33 PM


All times are GMT +1. The time now is 07:03 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"