Results 1 to 2 of 2

Thread: Using this Code for Msflexgrid

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2000
    Location
    Tucson, AZ, USA
    Posts
    95
    Printer.PaintPicture MSFlexGrid1.Picture, 0, 0
    Printer.EndDoc

    I am using this code to Print the contents of an msflexgrid, is there a way to print landscape instead of portrait. Thanks.


  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Paper Orientation

    you can set the printer paper orientation by the following code:

    Printer.Orientation = vbPRORLandscape OR
    Printer.Orientation = 2

    Note:

    1 = vbPRORPortrait
    2 = vbPRORLandscape

    Good Luck

Posting Permissions

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



Click Here to Expand Forum to Full Width