Hi,
IT was indeed quite a bit of research to put it right.
Here's your starting point:
Sub Fieldlist()
Dim TB As Table
dim CTR as integer
For Each TB In ActiveProject.TaskTables
If TB.Name = ActiveProject.CurrentTable Then
Exit For
End If
Next
For Ctr = 1 To TB.TableFields.Count
Debug.Print FieldConstantToFieldName(TB.TableFields(Ctr).Field)
Next Ctr
End Sub
Greetings,
--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf