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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy a sheet to a new workbook without the links

Status
Not open for further replies.

dano1

Electrical
Joined
May 1, 2003
Messages
4
Location
US
How do I copy a sheet to a new workbook in Excel without establishing the links to the original sheet? Right now, my code is Sheets("Sheet1").Copy. But that establishes links back to my source workbook. I just want the values. I know I could use select all of the cells I want to copy and then use the paste special command, but I'm actually copying more than one sheet. Any ideas?
Thanks in advance for the help.
 
Can try this :

Sheets("Sheet1").Copy
ActiveSheet.UsedRange.Value = ActiveSheet.UsedRange.Value


Mutt.
 

No code required

Highlight Sheet1

Edit

Copy

Go to Sheet 2

Edit

paste special

Select value
Edit

paste special

Select format
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top