Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2006

Tip: Looking for answers? Try searching our database.

MS-Project VBA Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cevikel - 16 Jan 2006 09:32 GMT
Hi NG ,
I am new in the field of VBA and have a question / problem.
In one project file I defined a field ( customized field Number 13 )
and renamed it as "StatDur" and entered a formula there in.
With VBA I want to read out the contents of this field and display
it via MsgBox. Ihave entered following code

num = Application.CustomFieldValueListGetItem(pjCustomTaskNumber13,
pjValueListValue, 3)

Syntax is :
Ausdruck .CustomFieldValueListGetItem(FieldID, Item, Index)

Thats my code entered in VBA ( as above ):
num = Application.CustomFieldValueListGetItem(pjCustomTaskNumber13,
pjValueListValue, 3)

I want to store the contents of this field from row 3 in num and want to
display it via MsgBox.

It wont work since the VBA-Editor brings a failure where I am entering the
row number 3
as Index and I dont know why and how to solve this problem.
Can onyone give a helping hand.
Thanks in advance
Gruß

Signature

Cevikel
Tel. : 0911-433-6329
mailto:halidun.cevikel@siemens.com

Doug Robbins - Word MVP - 16 Jan 2006 12:11 GMT
post to microsoft.public.project.vba

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hi NG ,
> I am new in the field of VBA and have a question / problem.
[quoted text clipped - 22 lines]
> Thanks in advance
> Gruß
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.