Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default Copy Worksheet from another file

I need help in being able to copy a worksheet from another file and insert
the copy into my currently opened workbook using VBA. The source file is
located on a network drive (LAN). Can this be done without actually opening
the source file?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default Copy Worksheet from another file

Steve
No. The source file must be open. You can prevent anything on the
screen from changing while the code opens the other file and does the
copying and closing of the other file, but it has to be open for the code to
copy from it. HTH Otto
"Steve" wrote in message
...
I need help in being able to copy a worksheet from another file and insert
the copy into my currently opened workbook using VBA. The source file is
located on a network drive (LAN). Can this be done without actually
opening
the source file?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default Copy Worksheet from another file

Thnx Otto

"Otto Moehrbach" wrote:

Steve
No. The source file must be open. You can prevent anything on the
screen from changing while the code opens the other file and does the
copying and closing of the other file, but it has to be open for the code to
copy from it. HTH Otto
"Steve" wrote in message
...
I need help in being able to copy a worksheet from another file and insert
the copy into my currently opened workbook using VBA. The source file is
located on a network drive (LAN). Can this be done without actually
opening
the source file?




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
Copy a worksheet from one file to another [email protected] Excel Discussion (Misc queries) 1 May 15th 08 03:48 AM
Copy worksheet from one file to another pokdbz Excel Discussion (Misc queries) 6 September 28th 07 09:23 PM
copy part of a worksheet into a worksheet in the same file/keepi. JTB Excel Worksheet Functions 1 September 23rd 06 09:13 AM
Copy File into Worksheet Session101[_2_] Excel Programming 1 March 29th 06 03:21 PM
copy a worksheet to another xls file Jac[_2_] Excel Programming 2 November 30th 03 05:13 PM


All times are GMT +1. The time now is 11:24 PM.

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

About Us

"It's about Microsoft Excel"