Copy an Excel sheet using VBA

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

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.
 
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/index.php?t=envbadac

I have never used netDDE, but I am pretty sure it does not support copying a
worksheet between closed workbooks.
 
Thanks Tom,
I'm using ADO now but was hoping there was some Excel/VBA quickie way I'd
never heard of.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top