PC Review


Reply
Thread Tools Rate Thread

COPY SHEETS FROM TWO DIFFERENT EXCEL FILES INTO A THIRD

 
 
Guy Cohen
Guest
Posts: n/a
 
      25th Mar 2007
Hi all
I am trying to copy sheet1 from file1.xls and file2.xls into file3.xls which
is empty.
I use vb6 and vb.net
please post some code
I looked in the internet and sheet.copy causes an error!!!
HELP
TIA
Guy


 
Reply With Quote
 
 
 
 
merjet
Guest
Posts: n/a
 
      25th Mar 2007
You must specify a particular sheet, e.g. ActiveSheet.Copy or
Sheets(1).Copy or Sheets("Sheet1").Copy.

Hth,
Merjet




 
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
MS Excel Sheets...how to copy and paste one excel sheet into another? tina SPEILBERG Microsoft Excel Setup 2 9th May 2008 12:03 AM
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 sheets from many files into 1 Steve Microsoft Excel Programming 1 9th Oct 2007 03:11 AM
Macro to copy sheets from several files into a new workbook. kiska1970@yahoo.com Microsoft Excel Programming 2 10th Nov 2005 10:45 PM
MS Excel Sheets...how to copy and paste one excel sheet into another? tina SPEILBERG Microsoft Excel Misc 5 4th Aug 2003 09:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:53 PM.