Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
becaboo77
 
Posts: n/a
Default Saving Sheets into Multiple Files

I have a file with about 25 tabs (sheets) in it, but I want to save each tab
as a separate file & name the file the tab name. Is there a way to do this
automatically, or will I have to manually move each sheet into a new file &
save it?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron de Bruin
 
Posts: n/a
Default Saving Sheets into Multiple Files

Hi becaboo77

Try this macro
http://www.rondebruin.nl/copy6.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl


"becaboo77" wrote in message ...
I have a file with about 25 tabs (sheets) in it, but I want to save each tab
as a separate file & name the file the tab name. Is there a way to do this
automatically, or will I have to manually move each sheet into a new file &
save it?



  #3   Report Post  
Posted to microsoft.public.excel.misc
Anne Troy
 
Posts: n/a
Default Saving Sheets into Multiple Files

Try this, boo: http://vbaexpress.com/kb/getarticle.php?kb_id=448
************
Hope it helps!
Anne Troy
www.OfficeArticles.com

"becaboo77" wrote in message
...
I have a file with about 25 tabs (sheets) in it, but I want to save each
tab
as a separate file & name the file the tab name. Is there a way to do
this
automatically, or will I have to manually move each sheet into a new file
&
save it?



  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Saving Sheets into Multiple Files

Option Explicit
Sub testme()
Dim wks As Worksheet

For Each wks In ActiveWorkbook.Worksheets
wks.Copy 'to a new workbook
With ActiveSheet
.Parent.SaveAs Filename:="C:\temp\" & .Name
.Parent.Close savechanges:=False
End With
Next wks
End Sub

Adjust the path to what you want.

becaboo77 wrote:

I have a file with about 25 tabs (sheets) in it, but I want to save each tab
as a separate file & name the file the tab name. Is there a way to do this
automatically, or will I have to manually move each sheet into a new file &
save it?


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Jim May
 
Posts: n/a
Default Saving Sheets into Multiple Files

Sub SheetsToSepBooks()
Set shOrig = Sheets(1).name
For Each sh In ActriveWorkbook.Worksheets
sh.Copy
ActiveWorkbok.SaveAs FileName:= "C:\Samples\" & sh.name & ".xls"
ActiveWorkbook.Close
Next sh
shOrig.Activate
End Sub

HTH


"becaboo77" wrote:

I have a file with about 25 tabs (sheets) in it, but I want to save each tab
as a separate file & name the file the tab name. Is there a way to do this
automatically, or will I have to manually move each sheet into a new file &
save it?



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
repost; Automatically updating formulae in multiple sheets Keith Nicholls Excel Discussion (Misc queries) 1 January 5th 06 03:39 AM
pulling info from multiple sheets Jimenda Excel Discussion (Misc queries) 2 December 23rd 05 10:04 PM
Autofilter Lists across Multiple Sheets, Maintain Correct Referenc EDSTAFF Excel Worksheet Functions 0 November 14th 05 03:27 PM
How can I merge multiple sheets from different Excel files workbo. jones021 Excel Worksheet Functions 0 April 20th 05 08:48 PM
Can I unhide multiple sheets at once? Brockli Excel Discussion (Misc queries) 1 February 24th 05 07:46 PM


All times are GMT +1. The time now is 07:12 AM.

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

About Us

"It's about Microsoft Excel"