Purpose: Set a new ending date for the schedule.
Returns: None
|
Argument |
Type |
Required |
Purpose |
|
1 |
String |
Yes |
New End Date |
Notes:
An improved method, SetStartAndEndDates makes it possible to set both the start and the end date with one call.
If the new ending date is before the current starting date, then the new date is ignored. As with other dates passed to Milestones, the current short date format as set in the Regional Settings of the Windows Control Panel determines the month, day, year order and date separator.
Example: Set the end date to December 31, 2017 and then cause the screen to refresh.
With objMilestones
.SetMiscProperty "Use4DigitYears",1
.SetEndDate "12/31/2017"
End With
Note:
Set both the start and the end date at once with the SetStartAndEndDates method
Related Topics
To effectively program with this interface, it's important to learn all about Milestones Professional. Learn about Milestones.
Milestones Professional 2023 Automation Methods and Properties. © Copyright 2000-2023, KIDASA Software, Inc. All rights reserved.