Syntax
| SQL.CreateRTFDocument(Sjabloon, SaveAs, Contents, [Append])
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Description
| Opens a Microsoft Word template (.dot) or document (.doc) or existing Richt Text Formatted file (RTF) and saves it as a new RTF document, returning the contents in a parameter.
Returns value TRUE on success, FALSE otherwise.
| ||||||||||
See Also
| |||||||||||
Example
| Sub Main() Dim Inhoud As String Debug.Print CreateRTFDocument("c:\mijnsjabloon.dot", _ "c:\nieuwdocument.rtf", Inhoud) Debug.Print Inhoud End Sub | ||||||||||