Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Warrington, Cheshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sizing report preview window (2003)

    When I read Andy's posting here, I leant that a report preview can be opened at a desired zoom level.
    However, having done this, when the report opens the preview window is not wide enough for the page at the target zoom level.
    Can the preview window width be sized, please?
    Thanks
    Silverback
    Silverback

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Sizing report preview window (2003)

    You could use

    DoCmd.MoveSize Width:=8 * 1440

    to set the width of the report window to 8 inches (8 * 1440 twips). But it's hard to determine what the best width is. I usually use DoCmd.Maximize to maximize the report preview window.

  4. #3
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: Sizing report preview window (2003)

    I used to put in zooming code, then I found that if I set the AutoResize property of every report to No, I did not need to bother.
    Every report now just opens at 100% and maximised automatically.
    Regards
    John



  5. #4
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Warrington, Cheshire, England
    Posts
    712
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Sizing report preview window (2003)

    Many thanks, John and Hans.
    A couple of different techniques, both of which work perfectly (of course)
    Silverback
    Silverback

Posting Permissions

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