Creator Property

Returns a 32-bit integer that indicates the application in which the specified object was created. For example, if the object was created in Microsoft Word, this property returns the hexadecimal number 4D535744, which represents the string "MSWD." This value can also be represented by the constant wdCreatorCode. Read-only Long.

expression.Creator

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

The Creator property was primarily designed to be used on the Macintosh, where each application has a four-character creator code. For example, Microsoft Word has the creator code MSWD. For additional information about this property, consult the language reference Help included with Microsoft Office Macintosh Edition.

Example

This example displays a message about the creator of myObject.

Set myObject = ActiveDocument
If myObject.Creator = wdCreatorCode Then
    MsgBox "This is a Microsoft Word object"
Else
    MsgBox "This is not a Microsoft Word object"
End If

Applies to | AddIn Object | AddIns Collection Object | Adjustments Object | Application Object | AutoCaption Object | AutoCaptions Collection Object | AutoCorrect Object | AutoCorrectEntries Collection Object | AutoCorrectEntry Object | AutoTextEntries Collection Object | AutoTextEntry Object | Bookmark Object | Bookmarks Collection Object | Border Object | Borders Collection Object | Break Object | Breaks Collection | Browser Object | CalloutFormat Object | CanvasShapes Collection | CaptionLabel Object | CaptionLabels Collection Object | Cell Object | Cells Collection Object | Characters Collection Object | CheckBox Object | ColorFormat Object | Column Object | Columns Collection Object | Comment Object | Comments Collection Object | ConditionalStyle Object | CustomLabel Object | CustomLabels Collection Object | CustomProperties Collection | CustomProperty Object | DefaultWebOptions Object | Diagram Object | DiagramNode Object | DiagramNodeChildren Collection | DiagramNodes Collection | Dialog Object | Dialogs Collection Object | Dictionaries Collection Object | Dictionary Object | Document Object | Documents Collection Object | DropCap Object | DropDown Object | Editor Object | Editors Collection | Email Object | EmailAuthor Object | EmailOptions Object | EmailSignature Object | EmailSignatureEntries Collection | EmailSignatureEntry Object | Endnote Object | EndnoteOptions Object | Endnotes Collection Object | Envelope Object | Field Object | Fields Collection Object | FileConverter Object | FileConverters Collection Object | FillFormat Object | Find Object | FirstLetterException Object | FirstLetterExceptions Collection Object | Font Object | FontNames Object | Footnote Object | FootnoteOptions Object | Footnotes Collection Object | FormField Object | FormFields Collection Object | Frame Object | Frames Collection Object | Frameset Object | FreeformBuilder Object | Getting Help on Macintosh Keywords | Global Object | GroupShapes Collection Object | HangulAndAlphabetException Object | HangulAndAlphabetExceptions Collection Object | HangulHanjaConversionDictionaries Collection Object | HeaderFooter Object | HeadersFooters Collection Object | HeadingStyle Object | HeadingStyles Collection Object | HorizontalLineFormat Object | HTMLDivision Object | HTMLDivisions Collection | Hyperlink Object | Hyperlinks Collection Object | Index Object | Indexes Collection Object | InlineShape Object | InlineShapes Collection Object | KeyBinding Object | KeyBindings Collection Object | KeysBoundTo Collection Object | Language Object | Languages Collection Object | LetterContent Object | Line Object | LineFormat Object | LineNumbering Object | Lines Collection | LinkFormat Object | List Object | ListEntries Collection Object | ListEntry Object | ListFormat Object | ListGalleries Collection Object | ListGallery Object | ListLevel Object | ListLevels Collection Object | ListParagraphs Collection Object | Lists Collection Object | ListTemplate Object | ListTemplates Collection Object | MailingLabel Object | MailMerge Object | MailMergeDataField Object | MailMergeDataFields Collection Object | MailMergeDataSource Object | MailMergeField Object | MailMergeFieldName Object | MailMergeFieldNames Collection Object | MailMergeFields Collection Object | MailMessage Object | MappedDataField Object | MappedDataFields Collection | OLEFormat Object | Options Object | OtherCorrectionsException Object | OtherCorrectionsExceptions Collection Object | Page Object | PageNumber Object | PageNumbers Collection Object | Pages Collection | PageSetup Object | Pane Object | Panes Collection Object | Paragraph Object | ParagraphFormat Object | Paragraphs Collection Object | PictureFormat Object | ProofreadingErrors Collection Object | Range Object | ReadabilityStatistic Object | ReadabilityStatistics Collection Object | RecentFile Object | RecentFiles Collection Object | Rectangle Object | Rectangles Collection | Replacement Object | Reviewer Object | Reviewers Collection | Revision Object | Revisions Collection Object | RoutingSlip Object | Row Object | Rows Collection Object | Section Object | Sections Collection Object | Selection Object | Sentences Collection Object | Shading Object | ShadowFormat Object | Shape Object | ShapeNode Object | ShapeNodes Collection Object | ShapeRange Collection Object | Shapes Collection Object | SmartTag Object | SmartTagAction Object | SmartTagActions Collection | SmartTagRecognizer Object | SmartTagRecognizers Collection | SmartTags Collection | SmartTagType Object | SmartTagTypes Collection | SpellingSuggestion Object | SpellingSuggestions Collection Object | StoryRanges Collection Object | Style Object | Styles Collection Object | StyleSheet Object | StyleSheets Collection | Subdocument Object | Subdocuments Collection Object | SynonymInfo Object | System Object | Table Object | TableOfAuthorities Object | TableOfAuthoritiesCategory Object | TableOfContents Object | TableOfFigures Object | Tables Collection Object | TablesOfAuthorities Collection Object | TablesOfAuthoritiesCategories Collection Object | TablesOfContents Collection Object | TablesOfFigures Collection Object | TableStyle Object | TabStop Object | TabStops Collection Object | Task Object | TaskPane Object | TaskPanes Collection | Tasks Collection Object | Template Object | Templates Collection Object | TextColumn Object | TextColumns Collection Object | TextEffectFormat Object | TextFrame Object | TextInput Object | TextRetrievalMode Object | ThreeDFormat Object | TwoInitialCapsException Object | TwoInitialCapsExceptions Collection Object | Variable Object | Variables Collection Object | Version Object | Versions Collection Object | View Object | WebOptions Object | Window Object | Windows Collection Object | Words Collection Object | WrapFormat Object | XMLChildNodeSuggestion Object | XMLChildNodeSuggestions Collection | XMLNamespace Object | XMLNamespaces Collection | XMLNode Object | XMLNodes Collection | XMLSchemaReference Object | XMLSchemaReferences Collection | XSLTransform Object | XSLTransforms Collection | Zoom Object | Zooms Collection Object

See Also | Application Property