Deleting all but print range

  • I have this code below, I found from a previous post in Ozgrid, I modified a little bit but cant seem to get it to do what I need. I want to go through each worksheet in my workbook and delete what is outside the print range. The print range varies for each sheet. This code is not looping through each sheet. Any suggestions?

  • Re: Deleting all but print range

    Welcome to the forum!

    I have not tested this. Test on backup copy of a file.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!