PDA

View Full Version : Lookuptable help...



shans
07-17-2013, 04:47 PM
Hello,

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".

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.

Shan

judy56
07-23-2013, 07:56 PM
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.

corbingravel
01-14-2014, 09:52 PM
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.










---------------------------------
CORBIN GRAVELY