Custom Document Properties

M

MichaelA

Hello All,

I believe this is the right code for creating a new custom document
property; however I keep getting an error that says that "the named
argument not found". I copied this line straight from the help.

ActiveProject.CustomDocumentProperties.Add Name:="Customer Name",
linkedtocontent:=False, _
Type:=msoPropertyTypeString, Value:="Customer Name"

Anyone have any ideas?


thanks
Michael A.
 
R

Rod Gill

How are you accessing the custom properties? I find it more useful to store
values like this in a Text field on the Project Summary Task. This makes
them much more accessible. In Project Server a Custom Field at the Project
level makes the data visible in PWA.

--

Rod Gill
Microsoft MVP for Project

Author of the only book on Project VBA, see:
http://www.projectvbabook.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top