SetEndDate

 

Purpose: Set a new ending date for the schedule.

 

 

Argument  

Type

Required

Purpose

1

String

Yes

New End Date

 

 

             

Example: Set the start date to January 1, 2024  and the end date to December 31, 2024 and then cause the screen to refresh.

With objMilestones

  .SetMiscProperty "Use4DigitYears",1  

Set the end date first to avoid an error.

  .SetEndDate "12/31/2024"

  .SetStartDate "1/1/2024"

  .Refresh

End With

Set both the start and the end date at once with the SetStartAndEndDates method.  This is the preferred way of setting a schedule's start and end dates. 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.    

 

 

 

Related Topics

  1. SetPageStartEndDates
  2. SetStartAndEndDates
  3. SetStartDate

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To effectively program with this interface, it's important to learn all about Milestones Professional.  Learn about Milestones.

Milestones Professional 2025 Automation Methods and Properties.  © Copyright 2000-2025, KIDASA Software, Inc. All rights reserved.