Getting access to a Project's "Keywords field"

B

BIG Chris

Hi,

I've created a button that will be in the global file so that it
appears on all the projects a person might load up. But I only want
the VBA code behind it to do anything for certain Ms Project types; so
I thought I'd put a string in the Keywords field of particular
projects and then access that field in the vba code; if it matches
what I'm expecting then I'll run the rest of my code otherwise I'd put
up a message saying "not avilable for this project".

Now how do I get at the Keywords field ( i.e. File/Properties is done
manually ) in my vba code ?

or is there a better place I could store and retrieve this string - it
shouldn't be obvious to the users that the string exists.

I also have another question sort of related to this, but this will
follow shortly ...

Many Thanks,

Chris.
 
J

Jan De Messemaeker

Hello Chris
BuiltinDocumentProperties is what you need.
Look up the help.
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