is it possible that in macros we get the date format of Start and

J

Joy

is it possible that in macros we get the date format of Start and Finish ?

I just know we can use th following codes to set date format:


Application.StatusBar = "Processing task dates ..."
Dim tsk As Task
For Each tsk In ActiveProject.Tasks
With ActiveProject.ProjectSummaryTask
OptionsView DateFormat:=20
End With
Next tsk
 
J

John

Joy said:
is it possible that in macros we get the date format of Start and Finish ?

I just know we can use th following codes to set date format:


Application.StatusBar = "Processing task dates ..."
Dim tsk As Task
For Each tsk In ActiveProject.Tasks
With ActiveProject.ProjectSummaryTask
OptionsView DateFormat:=20
End With
Next tsk

Joy,
What exactly do you mean by "get the date format"? Are you trying to
"read" the setting of the date format? If so, then no, most of the
display attributes of Project are write only.

If you need the date to be in a specific format for users, then set the
value using the OptionsView Method.

John
Project MVP
 
J

Joy

I understand

thank you for your reply.

John said:
Joy,
What exactly do you mean by "get the date format"? Are you trying to
"read" the setting of the date format? If so, then no, most of the
display attributes of Project are write only.

If you need the date to be in a specific format for users, then set the
value using the OptionsView Method.

John
Project MVP
 
Top