K
kza40381
Once you have assigned your field names, is there a way to print what you
have assigned?
have assigned?
kza40381 said:Once you have assigned your field names, is there a way to print what you
have assigned?
kza40381 said:Once you have assigned your field names, is there a way to print what you
have assigned?
JackD said:I don't have project 2002 around to check, but something like this should
work for Proj 2002 and later:
Sub fieldTitles()
Dim myFieldType As String
For i = 1 To 20
myFieldType = "pjCustomTaskText"
MsgBox CustomFieldGetName(FieldNameToFieldConstant(myFieldType & i, pjTask))
'CustomFieldGetName (myFieldType)
Next i
End Sub
You can put it in the middle of a loop which prints things out.
I'll see if I can get some tested working code on Monday.
-Jack Dahlgren
JD said:Hmmm... Maybe you are right...
Ctrl + Printscreen then paste into a document?
-Jack Dahlgren
JackD said:I don't have project 2002 around to check, but something like this should
work for Proj 2002 and later:
Sub fieldTitles()
Dim myFieldType As String
For i = 1 To 20
myFieldType = "pjCustomTaskText"
MsgBox CustomFieldGetName(FieldNameToFieldConstant(myFieldType & i, pjTask))
'CustomFieldGetName (myFieldType)
Next i
End Sub
You can put it in the middle of a loop which prints things out.
I'll see if I can get some tested working code on Monday.
-Jack Dahlgren
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.