J
Joel Allen
Outlook 2003 SP3
Hi,
I have a script that populates a Word template with Item.Body. The
following DOES work:
Set objSel = objDoc.Windows(1).Selection
Set objTable = objDoc.Tables(1)
objDoc.Bookmarks("Body").Range.InsertBefore Item.Body
The problem is that it doesn't keep the formatting. So I tried to do this
and it DOES NOT work. What am I missing?
Set objSel = objDoc.Windows(1).Selection
Set objTable = objDoc.Tables(1)
objSel.Copy Item.Body
objSel.PasteAndFormat (wdPasteDefault)
Thank you very much for your help,
Joel
Hi,
I have a script that populates a Word template with Item.Body. The
following DOES work:
Set objSel = objDoc.Windows(1).Selection
Set objTable = objDoc.Tables(1)
objDoc.Bookmarks("Body").Range.InsertBefore Item.Body
The problem is that it doesn't keep the formatting. So I tried to do this
and it DOES NOT work. What am I missing?
Set objSel = objDoc.Windows(1).Selection
Set objTable = objDoc.Tables(1)
objSel.Copy Item.Body
objSel.PasteAndFormat (wdPasteDefault)
Thank you very much for your help,
Joel