PC Review


Reply
 
 
John Mamani
Guest
Posts: n/a
 
      29th Apr 2008
Good Morning all

We are using MS Excel 2002

Using VBA Code, is there a way to copy a single entire sheet from a diferent
workseet?

Regards,

Bre-x



 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      29th Apr 2008
This from VBA help file. Creates a new sheet and copies.

Worksheets("Sheet1").Copy After:=Worksheets("Sheet3")

If you want to copy from Sheet 1 to Sheet 2

Worksheets(1).Cells.Copy Worksheets(2).Range("A1")

"John Mamani" wrote:

> Good Morning all
>
> We are using MS Excel 2002
>
> Using VBA Code, is there a way to copy a single entire sheet from a diferent
> workseet?
>
> Regards,
>
> Bre-x
>
>
>
>

 
Reply With Quote
 
John Mamani
Guest
Posts: n/a
 
      29th Apr 2008
Hi,
Thank you for you quick answer.

This is to copy sheet between the same worksheet right?

We need to copy sheets from another worksheet.



"JLGWhiz" <(E-Mail Removed)> wrote in message
news:7D9D48E7-FEB5-4F79-8CFB-(E-Mail Removed)...
> This from VBA help file. Creates a new sheet and copies.
>
> Worksheets("Sheet1").Copy After:=Worksheets("Sheet3")
>
> If you want to copy from Sheet 1 to Sheet 2
>
> Worksheets(1).Cells.Copy Worksheets(2).Range("A1")
>
> "John Mamani" wrote:
>
>> Good Morning all
>>
>> We are using MS Excel 2002
>>
>> Using VBA Code, is there a way to copy a single entire sheet from a
>> diferent
>> workseet?
>>
>> Regards,
>>
>> Bre-x
>>
>>
>>
>>



 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      29th Apr 2008
The first one copies a worksheet, creates a new worksheet in the same
workbook with the data from to copied worksheet.

The second one copies the data in a worksheet to an existing worksheet in
the same workbook.

For more information, see this website.

http://www.rondebruin.nl/folder.htm

"John Mamani" wrote:

> Hi,
> Thank you for you quick answer.
>
> This is to copy sheet between the same worksheet right?
>
> We need to copy sheets from another worksheet.
>
>
>
> "JLGWhiz" <(E-Mail Removed)> wrote in message
> news:7D9D48E7-FEB5-4F79-8CFB-(E-Mail Removed)...
> > This from VBA help file. Creates a new sheet and copies.
> >
> > Worksheets("Sheet1").Copy After:=Worksheets("Sheet3")
> >
> > If you want to copy from Sheet 1 to Sheet 2
> >
> > Worksheets(1).Cells.Copy Worksheets(2).Range("A1")
> >
> > "John Mamani" wrote:
> >
> >> Good Morning all
> >>
> >> We are using MS Excel 2002
> >>
> >> Using VBA Code, is there a way to copy a single entire sheet from a
> >> diferent
> >> workseet?
> >>
> >> Regards,
> >>
> >> Bre-x
> >>
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
John Mamani
Guest
Posts: n/a
 
      29th Apr 2008
I didnt explain myself well.
Here is what I was looking for:

Sheets.Add Type:= _
"F:\1CNC\APPS\EXCEL\template_01.xls"

Thank you all for you help


> We are using MS Excel 2002
>
> Using VBA Code, is there a way to copy a single entire sheet from a
> diferent workseet?
>
> Regards,
>
> Bre-x
>
>
>



 
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
Search for values in a sheet and copy found records one after theother in another sheet AndreasHermle Microsoft Excel Programming 12 17th Jun 2011 08:12 PM
Auto Copy/autofill Text from sheet to sheet if meets criteria Joyce Microsoft Excel Misc 0 20th Nov 2008 11:05 PM
Copy Paste from Class Sheet to Filtered List on Combined Sheet prkhan56@gmail.com Microsoft Excel Programming 6 16th Sep 2008 04:30 PM
Help: auto-copy entire rows from 1 sheet (based on cell criteria) to another sheet. bertbarndoor Microsoft Excel Programming 4 5th Oct 2007 04:00 PM
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. =?Utf-8?B?Um9uTWM1?= Microsoft Excel Misc 9 3rd Feb 2005 12:51 AM


Features
 

Advertising
 

Newsgroups
 


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