PDA

View Full Version : Using MS Project Personalized field



MMendes
06-21-2012, 04:28 AM
Hi all.

I am trying to display "Text5" from "Tasks" in a VBA macro with no success...

Sub Macro2()
Dim strLegenda As String

strLegenda = pjCustomProjectEnterpriseText5 & " days"
FilePageSetupHeader Alignment:=pjRight, Text:="Duration: " & strLegenda
End Sub

"Text5" uses a formula and I can get it in any table but I can't print it... :banghead:
Please, help!