Write in Entreprise text or Entrerprise Outlinecodes ?

J

jean-luc

Hello,
We've got problem when we try to enter by VBA a value in Enterprise Text
fields or Entrerprise OutlineCodes.
Message is : "Argument value invalid"

Any idea ?
Thanks
Jean-Luc
 
R

Rod Gill

HI,

What code have you used?

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
 
J

jean-luc

objTask.EnterpriseProjectText2 = "Essai"


Rod Gill said:
HI,

What code have you used?

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
 
R

Rod Gill

Hi,

For the Project fields the objTask needs to point to the Project Summary
Task.
Set objTask=ActiveProject.ProjectSummaryTask
objTask.EnterpriseProjectText2 = "Essai"
--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.projectlearning.com/
 
J

jean-luc

Thanks so much Rod,
It works fine, as well on text and outline

Thanks again !

Jean-Luc
 

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