Add 'column' to actual view

T

Thomas Klaus

Hi there,

I'm creating a project programmatically. Now i would like to know how i
can add a new 'column' to the actual view. For example i'm editing the
TEXT1 attribute of the tasks and would like to show this attribute in
an own column in the gantt.

Should be easy to do, but can't find a solution...

Thanks,
Tom
 
T

Thomas Klaus

I found a solution:

msProjApp.TableEdit("test", true, true, true, missingValue,
missingValue, "Text1", "Responsibility", 20, 2, true, true, 255, 1, 7,
1);
msProjApp.TableApply("test");

Now my new question, i have only the german version of MS Project
installed and i would like to edit an existing table. In german its
"&Eingabe". Is there a non-localized identifier?

Thanks,
Tom
 
T

Thomas Klaus

Hi Jan,

"Entry" only seems to work for the english version of Project. How can
i access this table without knowing which language is installed?

Thanks,
Thomas
 
T

Thomas Klaus

Hi Jan,

"Entry" only seems to work for the english version of Project. How can
i access this table without knowing which language is installed?

Thanks,
Thomas
 
J

Jan De Messemaeker

Hi,

If the choice is only between two languages you could try them both with an
On error resume Next
before.
HTH
 
T

Thomas Klaus

Hey Jan,

It should work with every possible language of the MS Project.

regards,
Tom
 
J

Jan De Messemaeker

Hi Thomas,

Sorry but as this comes out of the blue now I don't remember the question..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top