Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Copy an Excel sheet using VBA

Using Excel 2000.
Is it possible to copy a worksheet from a closed workbook on a computer on a
LAN into a running Excel workbook on a different computer on the same LAN
using VBA.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Copy an Excel sheet using VBA

I think the quick answer is:
You would need to open both copies in a single instance of excel on the
computer with the code.

If you want to extract data organized as a table and treat the sheets on the
workbook as databases, then you might examine ADO.
http://www.erlandsendata.no/english/...php?t=envbadac

I have never used netDDE, but I am pretty sure it does not support copying a
worksheet between closed workbooks.

--
Regards,
Tom Ogilvy

"Jim" wrote:

Using Excel 2000.
Is it possible to copy a worksheet from a closed workbook on a computer on a
LAN into a running Excel workbook on a different computer on the same LAN
using VBA.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Copy an Excel sheet using VBA

Thanks Tom,
I'm using ADO now but was hoping there was some Excel/VBA quickie way I'd
never heard of.


"Tom Ogilvy" wrote in message
...
I think the quick answer is:
You would need to open both copies in a single instance of excel on the
computer with the code.

If you want to extract data organized as a table and treat the sheets on
the
workbook as databases, then you might examine ADO.
http://www.erlandsendata.no/english/...php?t=envbadac

I have never used netDDE, but I am pretty sure it does not support copying
a
worksheet between closed workbooks.

--
Regards,
Tom Ogilvy

"Jim" wrote:

Using Excel 2000.
Is it possible to copy a worksheet from a closed workbook on a computer
on a
LAN into a running Excel workbook on a different computer on the same LAN
using VBA.





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 excel sheet to another sheet Pietro Excel Discussion (Misc queries) 0 July 15th 07 10:26 PM
copy one sheet to other excel workbook Narendra Boga[_2_] Excel Discussion (Misc queries) 3 June 11th 07 11:06 AM
In EXCEL copy sheet layout to another sheet Stan Excel Discussion (Misc queries) 2 February 1st 06 07:07 PM
How do I copy a print format from sheet to sheet in excel ? kernat Excel Discussion (Misc queries) 1 July 22nd 05 04:59 PM
Excel won't copy outside sheet Jack Sons Excel Discussion (Misc queries) 6 May 17th 05 10:05 PM


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