+ Reply to Thread
Results 1 to 4 of 4

VBA code for contional print page setup.

  1. #1
    Registered User
    Join Date
    03-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question VBA code for contional print page setup.

    i have a 10 pages printed matter.one page have a 25 rows.
    if row value is "0" the row will be hidden .
    so the 24 rows visible in one page ..
    i wnt 25 rows as per sheet..
    take another page cell in first sheet.1.jpg1.jpg
    help me...2.jpg

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: VBA code for contional print page setup.

    bala.gobi

    See attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-16-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VBA code for contional print page setup.

    tks logit ji ..
    but my problem is the sheet contains 25 rows print area. i will hide a five row the print preview show a 20 rows only..but i need 25 rows preview ...may be take a another print area 5 rows...so i need its changes print area setup automatically via vba code for excel.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    6,986

    Re: VBA code for contional print page setup.

    Check the attachment and see if this is what you are needing. Look at PRINT PREVIEW.
    Attached Files Attached Files

+ 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. Print Page Setup
    By thelegazy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-29-2013, 05:43 PM
  2. [SOLVED] need help with page setup/print Setup on a worksheet
    By laurabach in forum Excel General
    Replies: 9
    Last Post: 04-28-2013, 11:44 PM
  3. [SOLVED] Multiple Worksheets to set up for print in page setup
    By laurabach in forum Excel General
    Replies: 6
    Last Post: 04-26-2013, 10:28 PM
  4. Page Setup on Print Preview output
    By jik_ff in forum Access Tables & Databases
    Replies: 1
    Last Post: 12-14-2012, 10:12 AM
  5. Page Setup / Print Formatting
    By vaximily in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-15-2011, 03:01 AM
  6. Print setup - fit to page - zoom
    By Zurn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2006, 06:51 AM
  7. print page setup
    By Lim family in forum Excel General
    Replies: 1
    Last Post: 08-22-2005, 12:05 AM
  8. [SOLVED] Page SetUp Print Problems
    By [email protected] in forum Excel General
    Replies: 2
    Last Post: 02-11-2005, 06:06 PM

Tags for this Thread

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