+ Reply to Thread
Results 1 to 2 of 2

print area and page break help

  1. #1
    Registered User
    Join Date
    09-15-2014
    Location
    michigan
    MS-Off Ver
    2003
    Posts
    94

    print area and page break help

    logsheet example.xls
    I'm still new to vb but I'm learning as I go. currently I'm working on a script to sent my number of pages and I'm having dificulty getting it right, in my example there is are cells in k2,l2,m2, that say where my page breaks should be. so far i was able to set a script that will do this for my now but my issue is i cant figure how to get it to work for setting the page break to between column I and column J
    in the current example print area should be A1,I77 with page breaks at 19 and 47 but my script is adding a page break between column H,I when I need it to be between the I,J
    any one know how to set this up
    logsheet example.xls


    to sum it up i need to modify my script so that when i print my page breaks will be the way they are currently set in the example
    Please Login or Register  to view this content.
    Last edited by MATT.B; 04-21-2015 at 10:30 AM.

  2. #2
    Registered User
    Join Date
    09-15-2014
    Location
    michigan
    MS-Off Ver
    2003
    Posts
    94

    Re: print area and page break help

    Please Login or Register  to view this content.
    this is executed on print
    It sets print area based on column B having text
    then counts column B sets variables breakat, and breakau to where I want my page breaks
    switches to pagebreak preview set breaks at this time it completes the print operation and goes back to normal view

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro slows down when I print/print preview/page break a sheet
    By Grug in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2015, 08:59 PM
  2. Print area will not keep when using Page Break Preview
    By viridescent in forum Excel General
    Replies: 1
    Last Post: 01-24-2013, 10:16 AM
  3. Set Print Area to Next Page Break
    By abemourning in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2013, 12:55 PM
  4. Replies: 4
    Last Post: 02-17-2006, 08:36 AM
  5. [SOLVED] How do you turn off a print area for a page? (no print area)
    By Grunen in forum Excel General
    Replies: 4
    Last Post: 10-08-2005, 03:05 PM

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