L
licy
code like below, but in word, it just like original code, i want to see text
with format, just like in web, how can i do?
Dim oWord As Word.Application
Set oWord = New Word.Application
Dim doc As Word.Document
Set doc = oWord.Documents.Add(Visible:=True)
oWord.Visible = True
oWord.Selection.range.text = "<html><body><b>hello</b> all</body></html>"
oWord.Quit savechanges:=wdPromptToSaveChanges
with format, just like in web, how can i do?
Dim oWord As Word.Application
Set oWord = New Word.Application
Dim doc As Word.Document
Set doc = oWord.Documents.Add(Visible:=True)
oWord.Visible = True
oWord.Selection.range.text = "<html><body><b>hello</b> all</body></html>"
oWord.Quit savechanges:=wdPromptToSaveChanges