troubleshooting Question

Export to Excel with Advanced Page Options...

Avatar of kmorris1186
kmorris1186 asked on
ASP
5 Comments1 Solution304 ViewsLast Modified:
Hi.  I have a page that i am exporting to Excel.  This works fine.  Using some help from a previous question, i was able to get CSS and other formating to correctly export.

https://www.experts-exchange.com/Web/Web_Languages/ASP/Q_21534489.html

But, i need to get something else done.  I need to tell Excell to make my sheet fit to page.  I am not sure what exactly this is called, but here is the actual steps i do, to do it manually.

After exporting to excel, and opening the page:
Select View --> Page Break Preview
Drag the Page 1 Page Break to fit this selectiong:
   A1 to A31, through U1 to U31.

This forces Excel to scale down the page to 34% of its normal size.  This may seem small, but it really is not for the data that i have on the page.

If anyone knows how to do this programaticly this would be awesome.

Thanks.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros