Method FieldNameToFieldConstant don`t work with PWA

P

Pedro Povoleri

Hey there! I'm was try implement this method in my VBA script to make a PowerPoint file, is all working fine Offline but wen I'm try get it to work with my PWA is not work the method returns error 1004 any one can help-me?

The method implemented in the VBA.

Function RetornaValorCampo(NomeCampo As String)
Dim Campo
Campo = FieldNameToFieldConstant("NomeCampo", pjTask)
RetornaValorCampo = ActiveProject.ProjectSummaryTask.GetField(Campo)
End Function
 

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