Consulting

Results 1 to 4 of 4

Thread: Solved: Set the Data / Group and Outline / settings..

  1. #1
    VBAX Contributor JeffT's Avatar
    Joined
    Oct 2004
    Location
    Maidenhead, Nr London UK
    Posts
    105
    Location

    Solved: Set the Data / Group and Outline / settings..

    Hi

    I've a Macro which groups lots of data & another which ungroups, all of which work fine. However the other day I noticed the grouping was happening from the bottom not the top as usual.

    Somehow the "Summary rows below detail" box in settings was ticked. What I would like to know is if there is some code which I could add to the Macro to ensure this setting was unticked before the code ran.

    Thanks

    JeffT

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Try unsetting it whilst turning on the macro recorder. See what code you get.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Contributor JeffT's Avatar
    Joined
    Oct 2004
    Location
    Maidenhead, Nr London UK
    Posts
    105
    Location
    XLD

    Thanks for a brilliant answer. I record lots of Macros then mess around with them to make them do what I want. I've never tried with settings so a big learning point.

    It worked perfectly, another problem solved, just two more to go & I've finished this project.

    Thanks again

    Jeff T

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by JeffT
    I record lots of Macros then mess around with them to make them do what I want.
    So do I mate
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •