Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this one.
Sub sheets2csv() Dim vPath As String Dim Acbk As Workbook Dim sh As Worksheet vPath = "C:\temp" ChDir vPath Set Acbk = ActiveWorkbook Application.ScreenUpdating = False Application.DisplayAlerts = False For Each sh In Worksheets sh.Copy ActiveWorkbook.SaveAs filename:=ActiveSheet.Name, FileFormat:=xlCSV ActiveWorkbook.Close Acbk.Activate Next End Sub Keiji snax500 wrote: In Excel2003, I have many sheets that I want to save as individual CSV files. For example, I have forty sheets in one file that I will end up with 40 CSV files. I want the files to called by their tab name and saved @ c:\temp. Any help would on a macro would be appreciated. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I move multiple tabs in multiple workbooks to a master? | Excel Worksheet Functions | |||
Create multiple sheet tabs from multiple cells. | Excel Worksheet Functions | |||
Saving to text file - tabs from empty cells ignored | Excel Programming | |||
macro: copy multiple workbooks to multiple tabs in single book | Excel Programming | |||
Shared folder - tabs disappear while saving | Excel Worksheet Functions |