+ Reply to Thread
Results 1 to 3 of 3

Find a header and loop until the last header

  1. #1
    Forum Contributor
    Join Date
    11-14-2007
    Posts
    111

    Find a header and loop until the last header

    i have a reprt that comes out of accounting software and is a long and unorganized.

    I need a macro that finds the word "brown" (part of a header at the top of every page) and inserts a page break - repeating until the last "Brown" is found.

    I have been trying the "do, loop while" loop for this, but have not gotten it to work

    Thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Why not put the header in the sheet header?

  3. #3
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Adao1,

    Try this macro...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

+ 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. For Each loop problem with .column
    By treva26 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2008, 10:16 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