A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
You should use Paragraphs I guess. Paragraphs can have more than one line if the text wraps. Your third paragraph has two lines for example.
When you say current selected paragraph do you mean the cursor could be in it (ie no text selected) The way to locate the paragraph index is to compare the paragraph end with the character start position. A little clumsy but it's the only way I know.
Sample Code (based onan idea from Shyam Pillai) Note the code assumes a textrange selection you will need to add some error checking.
Sub checkCursor()
Dim lngCharStart As Long
Dim lngParaEnd As Long
Dim L As Long
Dim oShp As Shape
lngCharStart = ActiveWindow.Selection.TextRange.Start
Set oShp = ActiveWindow.Selection.TextRange.Parent.Parent
With oShp.TextFrame2.TextRange
Debug.Print lngCharStart & .Length
If lngCharStart > .Length Then ' selection is at end!
MsgBox "Cursor is in Paragraph " & .Paragraphs.Count
Else
For L = 1 To .Paragraphs.Count
lngParaEnd = .Paragraphs(L).Start + .Paragraphs(L).Length
If lngCharStart < lngParaEnd Then
MsgBox "Cursor is in Paragraph " & L
Exit For
End If
Next L
End If
End With
End Sub