Andreas Hermle
asked on
split excel file into multiple files based on page breaks
Dear Experts:
I got a huge file where I have more than 300 manually inserted page breaks.
Is it possible by means of VBA code to split this file into multiple/individual files (more than 300) based on these page breaks.
Help is more than appreciated. Thank you very much in advance.
Regards, Andreas
I got a huge file where I have more than 300 manually inserted page breaks.
Is it possible by means of VBA code to split this file into multiple/individual files (more than 300) based on these page breaks.
Help is more than appreciated. Thank you very much in advance.
Regards, Andreas
ASKER
Hi rgonzo,
thank you very much for your quick feedback.
for example the cell value/contents in Column B directly below the page breaks.
Thank you
Regards, Andreas
thank you very much for your quick feedback.
for example the cell value/contents in Column B directly below the page breaks.
Thank you
Regards, Andreas
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi rgonzo,
thank you very much for your great support. Initial testing showed that it worked partly well.
I will do some more thorough testing and then let you knwo.
again, thank you very much for your professional help. I really appreciate it.
Regards, Andreas
thank you very much for your great support. Initial testing showed that it worked partly well.
I will do some more thorough testing and then let you knwo.
again, thank you very much for your professional help. I really appreciate it.
Regards, Andreas
ASKER
Hi rgonzo,
thank you very much for your great and professional support. I tweaked the code a tiny bit and added 'On Error Resume Next' and it worked just fine.
Great job rgonzo, thank you very much.
Regards, Andreas
thank you very much for your great and professional support. I tweaked the code a tiny bit and added 'On Error Resume Next' and it worked just fine.
Great job rgonzo, thank you very much.
Regards, Andreas
How do you determine the names of the new files?
Regards