R
Rama
Hi All,
I'm trying to extract RTF text from a given word document and I'm
using clipboard functionality to get RTF text which is as follows. I'm using
..NET technology. I dont mind accepting VB6\VBA solution.
Dim data As IDataObject
oParagragh.Range.CopyAsPicture()
data = Clipboard.GetDataObject()
If Not data Is Nothing AndAlso _
data.GetDataPresent("Rich Text Format")
Then
strParagraphText = data.GetData("Rich
Text Format", True)
End If
As it intereferes with user copy\paste functionality I just want to findout
whether there are any other possible ways to extract RTF text without using
clipboard logic.
I'm trying to extract RTF text from a given word document and I'm
using clipboard functionality to get RTF text which is as follows. I'm using
..NET technology. I dont mind accepting VB6\VBA solution.
Dim data As IDataObject
oParagragh.Range.CopyAsPicture()
data = Clipboard.GetDataObject()
If Not data Is Nothing AndAlso _
data.GetDataPresent("Rich Text Format")
Then
strParagraphText = data.GetData("Rich
Text Format", True)
End If
As it intereferes with user copy\paste functionality I just want to findout
whether there are any other possible ways to extract RTF text without using
clipboard logic.