How do I recognize the existence of a custom property

V

vasavi

Hi ,
I need to Add an Item to the customDocumentProperties of the active
project only if it is not already added.

Is there any method to find the existence of the Item?

thanks & Regards
Vasavi
 
W

William Raymond

Hi Vasavi,

Unfortunately, I do not know the answer to your question, but would
recommend that you ask it at the microsoft.public.project.vba newsgroup
instead. They can help you with custom programming questions such as yours.

-Bill
 
J

Jan De Messemaeker

Hi Vasavi,

Possibility #1.
For each Prop in activeproject.customdocumentpropertis
if prop.name="....."

etcetera

Possibility #2
On error goto xxxxx
'simply Add the document property


HTH
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
Project Management Consultancy
Prom+ade BVBA
32-495-300 620
 

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