nikolaus.hofer
New member
- Local time
- Today, 18:49
- Joined
- Jul 24, 2014
- Messages
- 1
Hello guys
I'm quite new here in this forum so please excuse me if i miss anything.
I'm about to connect my DB to word. So I made a form where the user has to choose what entry to export. The data is inserted in a word file in different bookmarks. But there is one special task to insert the rich text so in this case the html formatted text is displayed like this:
My Text is inserted like this:
Lrs is a Recordset.
So how is it possible to display the html code right in the Word doc?
Thank you for your help
Niki
I'm quite new here in this forum so please excuse me if i miss anything.
I'm about to connect my DB to word. So I made a form where the user has to choose what entry to export. The data is inserted in a word file in different bookmarks. But there is one special task to insert the rich text so in this case the html formatted text is displayed like this:
Code:
<html><div>asdf</div></html>
My Text is inserted like this:
Code:
wdApp.ActiveDocument.Bookmarks("-Bookmarkname-").Range.Text = Lrs("-ColumnName-")
So how is it possible to display the html code right in the Word doc?
Thank you for your help
Niki