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

'Lag' parameter in LinkPredecessors

4 views
Skip to first unread message

Ben

unread,
Apr 30, 2010, 11:40:01 PM4/30/10
to
What is the right format for the Lag parameter in the LinkPredecessors Task
method? It is a Variant, while it would seem to make sense to have it as a
Long; does it have some special format? Any code snippet using it would be
much appreciated...
Thanks!

Rod Gill

unread,
May 1, 2010, 3:31:23 AM5/1/10
to
Hi,

Just make it a string, such as "2d" or "-2d"

--

Rod Gill
Microsoft MVP for Project - http://www.project-systems.co.nz

Author of the only book on Project VBA, see: http://www.projectvbabook.com


"Ben" <B...@discussions.microsoft.com> wrote in message
news:36AA3A01-FD9E-42DE...@microsoft.com...

> __________ Information from ESET Smart Security, version of virus
> signature database 5076 (20100430) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>

__________ Information from ESET Smart Security, version of virus signature database 5076 (20100430) __________

The message was checked by ESET Smart Security.

http://www.eset.com

Ben

unread,
May 1, 2010, 10:39:01 AM5/1/10
to
Thanks, Rod, that worked. I wanted to use a variable, so I defined the
variable as string and added a d at the end, and it worked no problem.

"Rod Gill" wrote:

> .
>

Rod Gill

unread,
May 1, 2010, 7:11:34 PM5/1/10
to
Project will convert each day to minutes using the hours per day conversion
rate under options.

Happy scheduling!

--

Rod Gill
Microsoft MVP for Project - http://www.project-systems.co.nz

Author of the only book on Project VBA, see: http://www.projectvbabook.com


"Ben" <B...@discussions.microsoft.com> wrote in message

news:1D903C6C-F7EB-4293...@microsoft.com...

> signature database 5078 (20100501) __________


>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>

__________ Information from ESET Smart Security, version of virus signature database 5078 (20100501) __________

0 new messages