Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Microsoft Project Revision number

7 views
Skip to first unread message

Weird

unread,
Aug 10, 2004, 8:15:56 PM8/10/04
to
Hi,
Does anyone knows where is the information of the Revision
number kept behind?
the revision number i'm referring to is file->properties-
>statistic->revision number
I'm able to see the changes there but when i call the
value out using ole db calling ProjectRevision the value
is always 0 other than following the changes.
Can someone out here help me with this problem?

thanx alot.

Mark Durrenberger

unread,
Sep 23, 2004, 12:31:40 PM9/23/04
to
This code *should* work except the second for loop pukes at 10 and I don't
know why (there are 30 custom doc properties)... of course "revision number"
no doubt has an item number higher than 10...

Mark


Sub Macro1()

For i = 1 To ActiveProject.BuiltinDocumentProperties.Count
MsgBox i & " " & ActiveProject.BuiltinDocumentProperties.Item(i),
vbOKOnly, "Builtin"
Next i
'
For i = 1 To ActiveProject.CustomDocumentProperties.Count
MsgBox i & " " & ActiveProject.CustomDocumentProperties.Item(i), vbOKOnly,
"Custom"
Next i

End Sub


--
_________________________________________________________
Mark Durrenberger, PMP
Principal, Oak Associates, Inc, www.oakinc.com
"Advancing the Theory and Practice of Project Management"
________________________________________________________

The nicest thing about NOT planning is that failure
comes as a complete surprise and is not preceded by
a period of worry and depression.

- Sir John Harvey-Jones
"Weird" <anon...@discussions.microsoft.com> wrote in message
news:3dd001c47f38$5f105ae0$a601...@phx.gbl...

Mark Durrenberger

unread,
Sep 23, 2004, 1:03:59 PM9/23/04
to
This actually works...

a = ActiveProject.BuiltinDocumentProperties.Item("Revision Number")

and I still don't know why the code in my previous post crashes after
Item(10)

--
_________________________________________________________
Mark Durrenberger, PMP
Principal, Oak Associates, Inc, www.oakinc.com
"Advancing the Theory and Practice of Project Management"
________________________________________________________

The nicest thing about NOT planning is that failure
comes as a complete surprise and is not preceded by
a period of worry and depression.

- Sir John Harvey-Jones
"Weird" <anon...@discussions.microsoft.com> wrote in message
news:3dd001c47f38$5f105ae0$a601...@phx.gbl...

0 new messages