+ Reply to Thread
Results 1 to 7 of 7

Parse items include repeat section headers

  1. #1
    Registered User
    Join Date
    04-15-2009
    Location
    Perth WA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Parse items include repeat section headers

    Hi
    I am trying to use one Jerry Beaucaire macro to

    1. Filter the Master report
    2. Copy all to individual sheets

    The problem I am having is I have

    1. the 1st 7 rows are a title block that needs to be repeated onto each sheet with formulas that index to the data

    2. on the bottom rows 410:419 have a signature block that needs to be repeated on each sheet

    3. In the data there is 4 header rows labeled in column C as "e, f, m, p" . If when filtered there is no data under one of these then the header row needs to be hidden.

    I have attached my workbook for assistance

    Thank you very much in advance for the help.

    Lee
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Parse items include repeat section headers

    I don't see the macro in this workbook you're trying to adapt. Upload a version of this sheet with your source macro, or provide links to the macros you are considering using.

    Your sample sheets should include at least one or two "sample results" that you're trying to create to make it 100% clear.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-15-2009
    Location
    Perth WA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Parse items include repeat section headers

    Hi Jerry

    Thanks ever so much for the assistance.

    I have included a sheet of what I need and also the sheets of what I am getting

    Never to old to learn this but my mind get totaly muddled.

    Thanks
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-15-2009
    Location
    Perth WA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Parse items urgent help

    Hi

    I have managed to write the code and the report comes out perfect. Code is a bit long winded but works.

    Only issue is I have to keep changing the Criteria1:=Array("1" the 1 to each filter number.
    of which there is to be 43. Is there a way of automating this?

    Thanks

    Please Login or Register  to view this content.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Parse items include repeat section headers

    I don't actually have Excel 2007+, so I can't test the features specific to that version, though I can open the files for viewing. Based on what I see in your version of the macro, I would suggest this to run the macro 43 times as requested:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-01-2011
    Location
    Perth Aust
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Parse items include repeat section headers

    Hi Jerry

    Thanks have tried everything but can't get the M string to work.

    It just keep filtering the "a", "e", "f", "m", "p" part only and pasting and ignoring the numbers.

    If I change the m to 1 Criteria1:=Array(m,
    ...... it works perfect except it only brings the one sheet out.

    Any other suggestions ?

    Thanks
    Lee

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Parse items include repeat section headers

    Grasping at straws here:
    Please Login or Register  to view this content.

+ 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