Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to copy an active Excel worksheet to another excel file?

Status
Not open for further replies.

derricklo1980

IS-IT--Management
Jul 9, 2012
11
HK
Hi,
I want to copy an active Excel worksheet to another new Excel file, continue to work in the new file (e.g. using Sub codeContinue() which contains the code for work), close the new file, switch back to the original Excel worksheet as the active worksheet. How to do that? Thanks!

 
hi,

In Excel, NOT VBA, you right-click the sheet you want to copy, and select Move or Copy... and follow the bouncing ball.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Hi, I want to automate and do it in VBA/macro. Also I want to copy to a new file. Any idea?
 
Turn on your macro recorder.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top