copy all worksheet data into a new worksheet  
Author Message
alexniebs





PostPosted: Thu Oct 02 14:19:53 CDT 2003 Top

Excel Programming >> copy all worksheet data into a new worksheet

hi,everyone:
I have a excel file of 7 worksheets. I will need create a new
worksheet and copy each 7 worksheet data and paste into the new
worksheet. Is there a macro to do that?
thanks.
Eric

Excel262  
 
 
Ron





PostPosted: Thu Oct 02 14:19:53 CDT 2003 Top

Excel Programming >> copy all worksheet data into a new worksheet Hi Eric

I have example for you
http://www.rondebruin.nl/tips.htm

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl




> hi,everyone:
> I have a excel file of 7 worksheets. I will need create a new
> worksheet and copy each 7 worksheet data and paste into the new
> worksheet. Is there a macro to do that?
> thanks.
> Eric


 
 
Tom





PostPosted: Thu Oct 02 14:33:44 CDT 2003 Top

Excel Programming >> copy all worksheet data into a new worksheet with this workbook as the activeworkbook:

Sub Copy7()
Worksheets.Copy
End Sub

this will copy the 7 sheets into a new workbook.

--
Regards,
Tom Ogilvy



> hi,everyone:
> I have a excel file of 7 worksheets. I will need create a new
> worksheet and copy each 7 worksheet data and paste into the new
> worksheet. Is there a macro to do that?
> thanks.
> Eric