Hmmm...the page setup thing does not work automatically though, am I right?
When I copy and paste data into a particular sheet, sometimes the data rows exceed the print area. I tried the page setup 1 by 1 but it doesn't work automatically.
I don't know how the Workbook BeforePrint thing works for Print Area.
If you take a look at that thread, you'll see how to set the PrintArea of a particular worksheet to be equal to the range A1 -> The last (bottom, far right) cell that has data / formatting in it.
Once you put this code into a Macro, you can call the Macro when the Workbook's BeforeSave event gets triggered.
*cLFlaVA
----------------------------
A polar bear walks into a bar and says, "Can I have a ... beer?"
The bartender asks, "What's with the big pause?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.