When I insert the data into Bookmark, it goes to the beginning of the line.
What a property needs to be set to insert the text in the middle of the paragraph?
Data is copied from Excel
Tried so far:
Copy range and paste
Copy text from value and pastespecial
Paste is floating everywhere, but not at Bookmark.
If wDoc.Bookmarks.Count = 0 Then GoTo BookmarkMissing
For i = 1 To wDoc.Bookmarks.Count
If wDoc.Bookmarks(i).Name = sBookmarkName Then
Set wdRange = wDoc.Bookmarks(i).Range
Let bBookmarkFound = True
End If
Next i
If Not bBookmarkFound Then GoTo BookmarkMissing
Else
Set wdRange = wDoc.Range
End If
MyData.SetText rngToSend.Value2
MyData.PutInClipboard
On Error Resume Next
On Error GoTo 0
'rngToSend.Copy
'wdRange.PasteSpecial Placement:=wdFloatOverText, DataType:=2
wdRange.InsertAfter
wdRange.Tables(1).ConvertToText Separator:=" "
'wdRange.PasteSpecial Placement:=wdFloatOverText, DataType:=2
'wdRange.PasteSpecial Placement:=wdInLine