Results 1 to 4 of 4

Thread: Excel PageBreaks

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    Cardiff
    Posts
    21

    Question Excel PageBreaks

    This is a VBA issue ........I have an Excel spreadsheet that has numerous lines of data per Branch Number......I want to insert a page break at the end of each different Branch Number so that different people can receive individual Branch information.

    Using VBA code, how can i insert a pagebreak between different Branch Numbers ???
    i.e Branch 1 on one page....Branch 2 on the next...etc,etc

    All Branch Numbers are in column A


    thanks, in advance

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    I'm assuming your question is how to insert the page breaks, not how to figure out WHERE to insert them. You really aren't very clear.

    1) check the object browser for methods

    2) insert a page break manually with the macro capture turned on and look at the code behind the macro

    Those are the two techniques you should always start with on office automation questions

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    Cardiff
    Posts
    21
    I also wanted to know how to find out where...........

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Sep 2001
    Location
    Cardiff
    Posts
    21
    ....to put the page breaks

    i.e. - how to compare the contents of cells

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