V
V
vbazaodinden2014-01-18 00:31:09
Visual Basic
vbazaodinden, 2014-01-18 00:31:09

How to get text from RTF in VBA and what libraries are needed?

Suppose I get the RTF of the current letter like this.
ThisOutlookSession.ActiveInspector.CurrentItem.RTFBody
how can I convert it from 7 bit to 8 bit string? and vice versa?
what libraries need to be included?
51W8fH3D.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
@
@ntkt, 2014-01-18
_

StrConv(ThisOutlookSession.ActiveInspector.CurrentItem.RTFBody, vbUnicode)

The function is given in the example of working with MailItem.RTFBody, directly in MSDN.
msdn.microsoft.com/en-us/library/office/ff867828.aspx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question