Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 116
Default Creating a new file for each excel worksheet

I have an excel file with many worksheets (tabs). I now need each sheet to
be its own file with its own name. Is there any way to just "right click" on
the worksheet and paste it into a new file? Or, do I have to do it the long
way, and open each sheet, and copy the cells before pasting into the new
file. I have a lot of them! Thanks !
--
sherry
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Creating a new file for each excel worksheet

"sherry" wrote in message
...
I have an excel file with many worksheets (tabs). I now need each sheet to
be its own file with its own name. Is there any way to just "right click"
on
the worksheet and paste it into a new file? Or, do I have to do it the
long
way, and open each sheet, and copy the cells before pasting into the new
file. I have a lot of them! Thanks !
--
sherry


You can right-click the worksheet tab and use "Move or Copy". This gives you
the option of moving (or copying) the worksheet to another workbook.

The alternative is to open the original workbook, delete all worksheets
except one, and use "Save As" to save the remaining worksheet as a new
workbook.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Creating a new file for each excel worksheet

try this
Sub splitsheets()
For Each ws In Worksheets
ws.Copy
ActiveWorkbook.SaveAs Filename:="C:\yourfoldername\" & ws.Name & ".xls"
ActiveWorkbook.Close
Next
End Sub


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"sherry" wrote in message
...
I have an excel file with many worksheets (tabs). I now need each sheet to
be its own file with its own name. Is there any way to just "right click"
on
the worksheet and paste it into a new file? Or, do I have to do it the
long
way, and open each sheet, and copy the cells before pasting into the new
file. I have a lot of them! Thanks !
--
sherry


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Creating a new file for each excel worksheet

See also this page
http://www.rondebruin.nl/copy6.htm

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"sherry" wrote in message ...
I have an excel file with many worksheets (tabs). I now need each sheet to
be its own file with its own name. Is there any way to just "right click" on
the worksheet and paste it into a new file? Or, do I have to do it the long
way, and open each sheet, and copy the cells before pasting into the new
file. I have a lot of them! Thanks !
--
sherry

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
Creating an Excel Worksheet Glossary Outlook user Excel Discussion (Misc queries) 0 October 26th 07 06:42 PM
Creating folders and subfolders from excel file list afaubert Excel Discussion (Misc queries) 4 November 8th 05 11:44 PM
Need help with creating a text file via excel [email protected] Excel Worksheet Functions 3 June 13th 05 02:49 PM
Excel Creating Temporary File After Saving NicIT Excel Discussion (Misc queries) 1 February 14th 05 01:47 AM
Creating a PDF file programatically from Excel Chaplain Doug Excel Discussion (Misc queries) 0 December 16th 04 08:49 PM


All times are GMT +1. The time now is 02:15 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"