Sub Test() Dim s As Shape Dim tr As TextRange Dim d As Document Set d = CreateDocument Set s = d.ActiveLayer.CreateParagraphText(2, 2, 4, 4, _ "This is an example") Set tr = s.Text.Story tr.SetRange 3, 10 tr.Underline = cdrDoubleThinFontLineEnd Sub