Purpose: Close the current schedule.
Return Value: None
|
Argument |
Type |
Required |
Purpose |
|
1 |
String |
No |
If "NoSave" then file closes immediately without asking user to first save file, even if the file has been altered without being saved. |
Notes:
Once a schedule is closed, it can no longer be referenced. To make sure that changes get saved, issue a .Save command. If a schedule is not named (previously saved), Milestones will display a Save File dialog box. If a Save is canceled at this point the schedule will remain open and will have lost contact with the calling application.
When .Close is issued on a just saved schedule it will close immediately. If no more schedules are open, then Milestones may shut down as well.
Example: Save and close the current schedule object.
With objMilestones
.Save ("c:\milestones\charts\my schedule.MLG")
End With
Milestones Professional 2019 Automation Methods and Properties. © Copyright 2018, KIDASA Software, Inc. All rights reserved.