Results 1 to 3 of 3

Thread: Lookuptable help...

  1. #1
    VBAX Newbie
    Jul 2013

    Lookuptable help...


    I am trying to customize tasks text20 to limit values it can take from a list ("Y" and "N"). The third line errors out "The argument value is not valid".

    [VBA] CustomFieldRename fieldId:=pjCustomTaskText20, NewName:="Financial?"
    CustomOutlineCodeEditEx fieldId:=pjCustomTaskText20, OnlyLookUpTableCodes:=True, OnlyLeaves:=False, LookupDefault:=True, DefaultValue:="Y", SortOrder:=0

    activeProject.OutlineCodes(pjCustomTaskText20).LookupTable.AddChild "Y"
    activeProject.OutlineCodes(pjCustomTaskText20).LookupTable.AddChild "N"

    It particularly does not like "pjCustomTaskText20". I am not new to VBA but new to MSP. And I am using MS Project 2010. Any help pointing me in the right direction most appreciated.


  2. #2
    If your are not familiar with Microsoft Project, this MSP tutorial will help you. It designed to assist a project manager in developing a plan, assigning resources to tasks, tracking progress, managing the budget, and analyzing workloads.

  3. #3
    I am not well versed with MSP as well. But you can learn this pretty much easily from the tutorial for MSP from YouTube. Just do a search with the terms MSP tutorial in YouTube and you’ll be good to go.


Posting Permissions

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