+ Reply to Thread
Results 1 to 3 of 3

Page Setup

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2013
    Posts
    137

    Page Setup

    Hi

    This is a hard question, I think:

    I know how to code normal page setup but

    Is there a way to automatically setup a page in VBA over a readability parameter and considering the range size:

    - setup papersize A4 or A3 or A2
    - setup portrait or landscape
    - setup one or more pages

    Thanks

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Page Setup

    You would probably need to use the PageBreaks
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    03-24-2009
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2013
    Posts
    137

    Re: Page Setup

    Thanks for the reply.

    However, pagebreak may be not the solution because, if I do that, I'm setting up a specific area.

    Depending on the sheet, print area can be short or big. What I wish to know if is possible to determine (in an automatic mode) print area based on those parameters and set up page by papersize, viewtype and number of pages in a readability view.

    For example, if print area has 10 cols and 20 rows, setup would be A4, portrait, 1 page. If print area has 150 cols, 1000 rows, setup woul be A2, landscape, 5 pages.

    Does is it mean reasonable?

+ 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