Muokkaa

Jaa


NoteItem object (Outlook)

Represents a note in a Notes folder.

Remarks

A NoteItem is not customizable. If you open a new note, you'll notice that it is not possible to place it in design time.

The Subject property of a NoteItem object is read-only because it is calculated from the body text of the note. Also, the NoteItem Body can only be rich text, so the properties that correspond to HTML and Microsoft Word content don't apply. Although the GetInspector property will work on notes, because notes can't be customized, some of the Inspector properties, methods, and events will not apply to NoteItem objects.

Use the CreateItem method to create a NoteItem object that represents a new note.

Use Items (index), where index is the index number of a note or a value used to match the default property of a note, to return a single NoteItem object from a Notes folder.

Example

The following Microsoft Visual Basic example returns a new note.

Set myItem = Application.CreateItem(olNoteItem)

Methods

Name
Close
Copy
Delete
Display
Move
PrintOut
Save
SaveAs

Properties

Name
Application
AutoResolvedWinner
Body
Categories
Class
Conflicts
CreationTime
DownloadState
EntryID
GetInspector
Height
IsConflict
ItemProperties
LastModificationTime
Left
MarkForDownload
MessageClass
Parent
PropertyAccessor
Saved
Session
Size
Subject
Top
Width

See also

Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.