• Customize Group By – VBA? (2003/SP3)

    Home » Forums » AskWoody support » Productivity software by function » Other MS apps » Customize Group By – VBA? (2003/SP3)

    Author
    Topic
    #445909

    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

    Viewing 0 reply threads
    Author
    Replies
    • #1082537

      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

      • #1082553

        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

    Viewing 0 reply threads
    Reply To: Customize Group By – VBA? (2003/SP3)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: