+ Reply to Thread
Results 1 to 2 of 2

macro to adjust print margins in print preview mode

  1. #1
    Registered User
    Join Date
    03-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    macro to adjust print margins in print preview mode

    hi everybody

    does anybody know how to create a code that:
    selects all data (select range that contains data) on the spreadsheet then does print preview and reduces all border margins to minimum desirable range (.04 header & footer, 0.7 top & bottom and 0.5 left and right)?

    i tried to record a macro directly from excel (without actually writing a code) but when it's run it gets stuck at print preview screen and doesn't close the screen. also margins seem to be being left at higher range than above.


    any help would be greately appreciated


    thanks
    Last edited by yeoye; 03-24-2009 at 06:16 AM.

  2. #2
    Registered User
    Join Date
    03-20-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    7

    Smile Re: macro to adjust print margins in print preview mode

    this has been resolved now from my other post

    please see this thread:

    http://www.excelforum.com/excel-prog...ml#post2063585

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1