PC Review


Reply
Thread Tools Rate Thread

Copy an Excel sheet using VBA

 
 
Jim
Guest
Posts: n/a
 
      1st Nov 2006
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 With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      1st Nov 2006
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 With Quote
 
Jim
Guest
Posts: n/a
 
      1st Nov 2006
Thanks Tom,
I'm using ADO now but was hoping there was some Excel/VBA quickie way I'd
never heard of.


"Tom Ogilvy" <(E-Mail Removed)> wrote in message
news:7F4657F5-AD6A-4DC5-90A6-(E-Mail Removed)...
>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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Copy a sum of a column from different Excel sheets to a single master excel sheet? Sriram Microsoft Excel Programming 0 12th Dec 2007 09:38 PM
Copy excel sheet to another sheet =?Utf-8?B?UGlldHJv?= Microsoft Excel Misc 0 15th Jul 2007 10:26 PM
Copy Excel Sheet to another sheet and preserve formatting? =?Utf-8?B?UmljaA==?= Microsoft Excel Programming 4 4th May 2007 06:12 PM
In EXCEL copy sheet layout to another sheet =?Utf-8?B?U3Rhbg==?= Microsoft Excel Misc 2 1st Feb 2006 07:07 PM
How do I copy a print format from sheet to sheet in excel ? =?Utf-8?B?a2VybmF0?= Microsoft Excel Misc 1 22nd Jul 2005 04:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:21 AM.