J
Jonathan Wareham
Hi,
I am writing an application that creates a Word document using automation by
inserting RTF text held in a database. I am currently doing this using the
following method :
1. Read RTF code from database field
2. Copy to Windows clipboard as RTF data (vbCFRTF)
3. Use WordApp.Selection.Paste to insert into document
This works to a point and retains the font, size, style etc contained in the
RTF but messes up the formatting in the document.
I just wondered if anybody can suggest a better way of going about this?
Any help appreciated,
Jonathan
I am writing an application that creates a Word document using automation by
inserting RTF text held in a database. I am currently doing this using the
following method :
1. Read RTF code from database field
2. Copy to Windows clipboard as RTF data (vbCFRTF)
3. Use WordApp.Selection.Paste to insert into document
This works to a point and retains the font, size, style etc contained in the
RTF but messes up the formatting in the document.
I just wondered if anybody can suggest a better way of going about this?
Any help appreciated,
Jonathan