Template

 

Purpose: Loads and applies a template file to the schedule.

 

Argument  

Type

Required

Purpose

1

String

Yes

Name of template file to load.

 

Only the template name should be given in argument. The path to the template folder is obtained automatically from the miles.ini file. Only the .MTP file name should be given. If the file is not found, an error is generated. Templates contain starting and ending dates, so it might be necessary to reset the schedule start and end date after loading a template. Templates contain only formatting information. They will not erase any task rows or symbols.

 

Example: Loads a template file and then refreshes the screen.

With objMilestones

'Note: template must be in user's default template folder

  .Template "!mytemplate3.mtp"

  .Refresh

End With

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.