agwalsh
asked on
Separating workbook sheets into separate files - quickly!
Hi
If I have a workbook with 20 separately named worksheets - how do I quickly separate these out into separate files in Excel and/or PDF? e.g. if I have a file with 3 worksheets - Jan, Feb and March, how can I quickly separate those into 4 files: original, jan, feb, and March? Either in Excel format or PDF? Thanks.
If I have a workbook with 20 separately named worksheets - how do I quickly separate these out into separate files in Excel and/or PDF? e.g. if I have a file with 3 worksheets - Jan, Feb and March, how can I quickly separate those into 4 files: original, jan, feb, and March? Either in Excel format or PDF? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
quote
ASKER
@todd_beedy - I'm familiar with that..but the person I am helping has to do it for 25 odd spreadsheets every week so (not surprisingly...) she wants to find a better way..am going to have a look at the code given in the link and try that out.. thanks to everyone..
if you need help I am fairly good at working with excel and some VBA.
Let me know if I can be of assistance.
The other thing you can try as well is to record a macro and then look at the VBA behind it. you can save it to personal macro workbook so its acrossed all excel books on that machine.
Let me know if I can be of assistance.
The other thing you can try as well is to record a macro and then look at the VBA behind it. you can save it to personal macro workbook so its acrossed all excel books on that machine.
ASKER
Hi
I have tried out the code in the link and it works beautifully :-) thank you.. However while I can get it to work if I create the macro in the workbook - i'm having problems with installing it in the personal macro workbook so that it's available to all files...any suggestions?
Thanks.
I have tried out the code in the link and it works beautifully :-) thank you.. However while I can get it to work if I create the macro in the workbook - i'm having problems with installing it in the personal macro workbook so that it's available to all files...any suggestions?
Thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried this but had problems..but will try again.. :-)
ok if you wind up needing help i can provide some assistance over join <dot> me or something similar.
ASKER
Thanks for help to everyone. The person I did it for never got back to me so I reckon the link at the beginning was the best :-)
As for the PDF, depends on the copy of office you have. you can save to pdf starting in 2007 (once you split the books) or you can "print to pdf" using something like cutepdf, pdf printer, etc etc. Mark the selection entire workbook for single pdf or active sheets for pdf of current sheet only.
That being said... if you have to do this repeatedly... I would suggest writing a small piece of code as suggested as it will be faster over time.