Accessing Data via Column-Caption

S

Stefan Wetter

Hello!

Is it possible to access the Celldata of the Tasks if i only have the
Caption as criterion for the column? Some sort of
ActiveProject.Tasks(i).GetField("ColCaption").value?

Thanks!
Stefan
 
R

Rod Gill

No, with Getfield you have to use a field constant
(Tasks(1).GetField(pjTaskText1) or you need to provide the fields real name
(Tasks(1).Text1

--

Rod Gill
Project MVP

NEW!! Project VBA Book, for details visit: 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