ConvertUserHeadToEmbedded

 

Purpose: Force the custom date heading specified to be saved with the schedule.

 

Return Value: None

 

Argument  

Type

Required

Purpose

1

Variant

Yes

Indicates the heading level (1-4)

 

      1. Embedded in the schedule file.

      2. Saved in an external file.

This command is a way to convert a custom heading that is stored in an external file, into a new embedded heading. If schedules which have custom headings will be used on other computers, the headings need to be embedded in the schedule.

 

 

 

Example: Convert the two user defined date headings on this schedule to be embedded (instead of saved in an external file.)

Public Sub ChangeMyHeadingToEmbedded()

Set objMilestones = GetObject("c:\schedules\customheading.MLP", "Milestones")

   With objMilestones

        . ConvertUserHeadToEmbedded 1

        . ConvertUserHeadToEmbedded 2

        . KeepScheduleOpen

   End With

Exit Sub

End Sub

 

 

Related Topics

  1. SetColumnProperty
  2. SetDateHeading
  3. SetDateHeadingProperty
  4. SetLogarithmicView

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.