Message 1 of 7
Refer to an attribute by its tagname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can't you refer to an attribute by its tagname... or do I need to use the following instead?
Dim varAttributes As Variant
Dim incAtt As Integer
varAttributes = blkMrk.GetAttributes
For incAtt = LBound(varAttributes) To UBound(varAttributes)
If varAttributes(incAtt).TagString = "CNT#" Then
varAttributes(incAtt).TextString = CStr(CntlNum)
End If
Next
Dim varAttributes As Variant
Dim incAtt As Integer
varAttributes = blkMrk.GetAttributes
For incAtt = LBound(varAttributes) To UBound(varAttributes)
If varAttributes(incAtt).TagString = "CNT#" Then
varAttributes(incAtt).TextString = CStr(CntlNum)
End If
Next