Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default macro to move and save all sheets to seperate workbooks

Hi is there a macro I can use to copy and save all worksheets in a book by
their sheet names to a specific location?

Thanks,


Todd
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default macro to move and save all sheets to seperate workbooks

Sub Make_New_Books()
Dim w As Worksheet
Application.ScreenUpdating = False
Application.DisplayAlerts = False
For Each w In ActiveWorkbook.Worksheets
w.Copy
ActiveWorkbook.SaveAs Filename:="C:\Gordstuff\" & w.Name
ActiveWorkbook.Close
Next w
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub


Gord Dibben MS Excel MVP

On Thu, 14 Sep 2006 15:49:02 -0700, Todd wrote:

Hi is there a macro I can use to copy and save all worksheets in a book by
their sheet names to a specific location?

Thanks,


Todd


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
Copy multiple sheets to seperate workbooks MY Excel Discussion (Misc queries) 1 October 15th 08 07:23 PM
Can I group or link sheets in seperate workbooks? skyler Excel Discussion (Misc queries) 1 September 19th 08 12:31 PM
Copy/ move selected data from workbooks to seperate worksheets or workbooks Positive Excel Worksheet Functions 1 August 30th 07 04:54 PM
MACRO HELP: Save All Sheets To Individual Workbooks Zorro Excel Discussion (Misc queries) 3 September 2nd 06 07:06 PM
Macro to save sheets as separate workbooks Zorro Excel Discussion (Misc queries) 3 September 27th 05 11:21 PM


All times are GMT +1. The time now is 07:00 PM.

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"