Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    May 2004
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Customize Group By - VBA? (2003/SP3)

    Can anyone tell me how to create a custom group with VBA? I've tried recording a Macro while going to the Project menu>Group By>Customize Group By but nothing gets recorded.

    Thanks,

    Kevin

  2. #2
    Lounger
    Join Date
    May 2004
    Posts
    49
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Customize Group By - VBA? (2003/SP3)

    Figure it out -

    ActiveProject.TaskGroups.Add "My Group Name", "My Field Name"
    GroupApply Name:="My Group Name"

    But now...how do I add more than one group as in Project menu>Group By>Customize Group By> Group By, Then By ?

    Kevin

  3. #3
    4 Star Lounger
    Join Date
    Sep 2004
    Location
    Sacramento, California, USA
    Posts
    432
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Customize Group By - VBA? (2003/SP3)

    I might be easier to just create the custom named groups from the Project ==>Group ==>More Groups dialog box. There is a check box in the Group Definition dialog box for Show in Menu. Once a custom named group has been saved to the Organizer it will be available to any Project plan created on the same PC.

    Carla

Posting Permissions

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