Thank you,
-Vadim
I found there's 4 properties of "Task Object" in VBA
object of MS Project manual
OutLineChildren
OutLineLevel
OutLineNumber
OutLineParent
You may try them. If don't work.
At worst, you may make some code to parse those OutLine
Code.
>.
>
I found there's 4 properties of "Task Object" in VBA
object of MS Project manual
OutLineChildren
OutLineLevel
OutLineNumber
OutLineParent
You may try them. If don't work.
At worst, you may make some code to parse those OutLine
Code.
>.
>
-Vadim
"Lawrence Chen" <Lawr...@construction.Taiwan.China> wrote in message
news:07b901c34c2e$d4981890$a301...@phx.gbl...
Try the following in the immediate window:
?activeproject.ProjectSummaryTask.EnterpriseOutlineCode1
--
Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
"Vadim Roulnov" <v...@ultersys.ru> wrote in message
news:Oc$Le75SD...@tk2msftngp13.phx.gbl...
Thank you, I tried. Unfortunately, it provides code for summary task, not
for project.
-Vadim
"Rod Gill" <rodg at project-systems dot co dot nz> wrote in message
news:O1nffWET...@TK2MSFTNGP12.phx.gbl...
--
Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
"Vadim Roulnov" <v...@ultersys.ru> wrote in message
news:u7BV93ET...@tk2msftngp13.phx.gbl...
Dim tsk As msproject.Task
MsgBox (tsk.GetField(pjTaskEnterpriseProjectOutlineCode1))
It works for ANY task, returns THE SAME.
Regards,
Evgeniy.
"Vadim Roulnov" <v...@ultersys.ru> wrote in message
news:Oc$Le75SD...@tk2msftngp13.phx.gbl...
It really works! It returns the same code for any task of a project, to be
exact. It is so easy, thought, nobody but you could answer me. Great!
Thank you again - this is one more brick for our common building :))
-Vadim
"Evgeniy" <e...@ultersys.ru> wrote in message
news:OJ5Rp9oW...@tk2msftngp13.phx.gbl...
I have no idea why it doesn't work...
Thanks for help,
Robert
"Evgeniy" <e...@ultersys.ru> wrote in message news:<OJ5Rp9oW...@tk2msftngp13.phx.gbl>...