#1   Report Post  
Posted to microsoft.public.excel.misc
Linda
 
Posts: n/a
Default Copy Entire Sheet

I'd like to copy the entire sheet of Sheet 1 to Sheet 2 and Sheet 3, I want
to automate this with VBA, how could I accomplish this? Thank you.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Copy Entire Sheet

Linda,

If you want to copy the data to existing sheets, use code like
the following:

With Worksheets("Sheet1").UsedRange
..Copy Destination:=Worksheets("sheet2").Range(.Cells(1,
1).Address)
End With


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"Linda" wrote in message
...
I'd like to copy the entire sheet of Sheet 1 to Sheet 2 and
Sheet 3, I want
to automate this with VBA, how could I accomplish this? Thank
you.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit / Move or copy sheet stopped working in Excel 2003 kris2u Excel Worksheet Functions 0 October 4th 05 08:20 PM
Copy sheet 1 data to sheet 2 cells. Tom Doggett Excel Worksheet Functions 1 July 19th 05 11:49 PM
Copy 1 Sheet to Another Dar Excel Worksheet Functions 3 June 6th 05 10:52 PM
Copy formula...sheet 2 sheet Mick New Users to Excel 0 January 26th 05 01:58 AM
Linking to an Entire Sheet Chaplain Doug Links and Linking in Excel 2 December 24th 04 07:39 AM


All times are GMT +1. The time now is 09:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"