Hi there
I have a task to export multiple excel worksheets into multiple workbooks, I don't think it is possible but I am also not too familiar with macros and how they work- I am still learning
Wondering if this is possible and if somebody could advise me on how and where to start look to get me started
I have tried googling it but to no avail
Thanks
What do want to do? Split each sheet from one workbook to separate workbooks?
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel Tips & Solutions, free examples and tutorials why not check out my downloads
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Hi yes that is exactly what i am trying to do, split each sheet from one workbook into multiple workbooks, is that possible?
found the solution on a different forum
code below
moderator please close this threadSub Macro5() For i = 1 To ActiveWorkbook.Worksheets.Count Sheets(i).Copy 'to new workbook Set NewWks = ActiveSheet With NewWks.Parent Application.DisplayAlerts = False .SaveAs Filename:="C:\Macros\" & NewWks.Name & ".xls" Application.DisplayAlerts = True .Close SaveChanges:=False End With Next i MsgBox "Done!" Range("H41").Select ActiveWindow.Close End Sub
Thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks