nittin123goel
New Member
- Joined
- May 24, 2011
- Messages
- 4
Hey Hi
I have one more problem I have a large excel sheet with different sheets in it.
There almost 90 files with 10 -15 sheets in each file. How can I split them.
I was trying this code .. But it was not working
Sub SplitSheets()
Dim W As Worksheet
For Each W In Worksheets
W.SaveAs ActiveWorkbook.Path & "/" & W.Name
Next W
End Sub
It doesn't split the file , just save it to same path with sheet name..
Thanks in advance
I have one more problem I have a large excel sheet with different sheets in it.
There almost 90 files with 10 -15 sheets in each file. How can I split them.
I was trying this code .. But it was not working
Sub SplitSheets()
Dim W As Worksheet
For Each W In Worksheets
W.SaveAs ActiveWorkbook.Path & "/" & W.Name
Next W
End Sub
It doesn't split the file , just save it to same path with sheet name..
Thanks in advance