S
sippyuconn
Hi
I am looping thru paragraphs and extracting the ones I want as Text but I
would
like to save the text with rtf tags to a text file is that possible ???
Each paragraph will be a unique key followed by the rtf of the paragraph so
I can later put into a RTFControl
Thanks
For Each para In doc.Paragraphs
'Put the code here to manipulate the paragraph
If (para.Range.Font.Size = 9 And _
para.Range.Font.Name = "Times New Roman") Then
sLine = para.Range.Text
Print #pFileNum, "This is new Text add key for each paragraph"
Print #pFileNum, sLine 'Save paragraph as rtf tags
End IF
Next
I am looping thru paragraphs and extracting the ones I want as Text but I
would
like to save the text with rtf tags to a text file is that possible ???
Each paragraph will be a unique key followed by the rtf of the paragraph so
I can later put into a RTFControl
Thanks
For Each para In doc.Paragraphs
'Put the code here to manipulate the paragraph
If (para.Range.Font.Size = 9 And _
para.Range.Font.Name = "Times New Roman") Then
sLine = para.Range.Text
Print #pFileNum, "This is new Text add key for each paragraph"
Print #pFileNum, sLine 'Save paragraph as rtf tags
End IF
Next