Article ID: 149807
Article Last Modified on 8/17/2005
Notes Object Example
---------------- -------------------
RTFText property Notebook(1).RTFText
Text property Notebook(1).Text
The RTFText property accepts only fully qualified Rich Text Format (RTF)
information. Setting the RTFText property to a regular string value
produces the following message:
NOTE: This run-time error is from Microsoft Visual Basic version 4.0. The
run-time error number may differ from application to application.
Sub Main()
' This code assumes you have a form with a Rich TextBox with its text
' property set to "test", and the font set the Arial 20pt.
Set Tmgr = GetObject(,"TeamManager.Application")
' Place the contents of the RichTextBox1 RTF text into the Team Manager
' Meeting agenda notebook subject.
Tmgr.Notebook("Meeting Agenda").RTFText = Form1.RichTextBox1.TextRTF
End Sub
Additional query words: 1.00 -2147418113 (8000ffff)
Keywords: kberrmsg kbprogramming kbdtacode KB149807