If the first line segment in the callout named "callout1" has a fixed length, this example specifies that the length of the first line segment in the callout named "callout2" on worksheet one will also be fixed at that length. For the example to work, both callouts must have multiple-segment lines.
Set myDocument = Worksheets(1)
With myDocument.Shapes
With .Item("callout1").Callout
If Not .AutoLength Then len1 = .Length
End With
If len1 Then .Item("callout2").Callout.CustomLength len1
End With
This example returns the length of the second phonetic text string in the active cell.
ActiveCell.FormulaR1C1 = ""
ActiveCell.Phonetics.Add Start:=1, Length:=3, Text:=""
ActiveCell.Phonetics.Add Start:=4, Length:=3, Text:=""
MsgBox ActiveCell.Phonetics(2).Length