Sample Excel Macro Codes

For Page Setup

If you want to setup the page to fit within one page for printing, you have to use the code below. It is important to add the .zoom=false line to switch off the zoom. Without it, the macro will not work.


New! Comments

Have your say about what you just read! Leave me a comment in the box below.

Share this page:

What’s this?

Enjoy this page? Please pay it forward. Here's how...

Copyright © 2007 - 2019. All Rights Reserved. Privacy Policy

Microsoft® and Microsoft Excel® are registered trademarks of Microsoft Corporation. is in no way associated with Microsoft