+ Reply to Thread
Results 1 to 8 of 8

page break or page set up in macro

  1. #1
    Registered User
    Join Date
    10-15-2011
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    99

    page break or page set up in macro

    Hi friends,

    in this code i dividing one single sheet data into different sheets , based on the producer name into a sheet. now i have attached the file i need the page break to be given after every reporting period in the sheet like wise in all the sheets.


    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    10-15-2011
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: page break or page set up in macro

    can some body help me on this

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: page break or page set up in macro

    Hey Somusas,

    Sorry for the delay.

    I have included the page break and printarea code in the original code itself -
    Please Login or Register  to view this content.
    Last edited by arlu1201; 01-10-2012 at 10:50 AM.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Registered User
    Join Date
    10-15-2011
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: page break or page set up in macro

    its wroking fine in horizantal , now vertical became two pages , firts page break come in D it should be in H

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: page break or page set up in macro

    Try adding this line -
    Please Login or Register  to view this content.
    after this line
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-15-2011
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: page break or page set up in macro

    thanks arlu , but this not working , is there any other way

  7. #7
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: page break or page set up in macro

    What errors are you getting?

  8. #8
    Registered User
    Join Date
    10-15-2011
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: page break or page set up in macro

    there are two page breaks coming one at D and other at H

+ 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