This function returns the letter template categories.
object.LoadLetterTemplateCategories()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Display the number of the letter template categories and some information about them.
Dim aLetTempCategories
Dim aLetTempCategory
Dim i
Dim aMessage
Set aLetTempCategories = Profile.LoadLetterTemplateCategories
aMessage = vbNewLine & "Letter Template Categories Count = " &_
aLetTempCategories.Count & vbNewLine
for i = 0 to aLetTempCategories.Count -1
set aLetTempCategory = aLetTempCategories.Item(i)
aMessage = aMessage & vbNewLine &_
"Category Name: " & aLetTempCategory.Name & vbNewLine &_
"Category ID: " & aLetTempCategory.ID & vbNewLine &_
"Category Parent ID: " & aLetTempCategory.ParentID & vbNewLine &_
"Category Path : " & Replace(aLetTempCategory.Path, chr(10), "\") & vbNewLine
next
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Letter Template Categories can be found in
.