thorpyuk
Well-known Member
- Joined
- Mar 14, 2006
- Messages
- 1,453
Hi Guys,
I have a sheet thats created automatically from a load of filtered data. Unfortunately, this does mean that there's loads of 'empty' cells that seem to be picked up as valid, meaning that any print preview will show my data bunched up in the corner!
Does anyone have any code that will 1) auto-set the print area to only cells that have data in them, and 2) automatically select landscape layout + fit to 1 page? (all my data should go on 1 page always)
Thanks!
I have a sheet thats created automatically from a load of filtered data. Unfortunately, this does mean that there's loads of 'empty' cells that seem to be picked up as valid, meaning that any print preview will show my data bunched up in the corner!
Does anyone have any code that will 1) auto-set the print area to only cells that have data in them, and 2) automatically select landscape layout + fit to 1 page? (all my data should go on 1 page always)
Thanks!