Export (0) Print
Expand All

Workbook Properties

The Workbook type exposes the following members.

  NameDescription
Public property _CodeName Reserved for internal use. (Inherited from _Workbook.)
Public property _ReadOnlyRecommended Reserved for internal use. (Inherited from _Workbook.)
Public property AcceptLabelsInFormulas True if labels can be used in worksheet formulas. The default value is False. Read/write Boolean. (Inherited from _Workbook.)
Public property AccuracyVersion Gets or sets whether certain worksheet functions use the latest accuracy algorithms to calculate their results. (Inherited from _Workbook.)
Public property ActiveChart Returns a Chart object that represents the active chart (either an embedded chart or a chart sheet). An embedded chart is considered active when it's either selected or activated. When no chart is active, this property returns Nothing. Read-only. (Inherited from _Workbook.)
Public property ActiveSheet Returns an object that represents the active sheet (the sheet on top) in the active workbook or in the specified window or workbook. Returns Nothing if no sheet is active. Read-only. (Inherited from _Workbook.)
Public property ActiveSlicer Gets an object that represents the active slicer in the active workbook or in the specified workbook. (Inherited from _Workbook.)
Public property Application When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only. (Inherited from _Workbook.)
Public property Author Returns or sets the author of the comment. Read-only String. (Inherited from _Workbook.)
Public property AutoUpdateFrequency Returns or sets the number of minutes between automatic updates to the shared workbook. Read/write Integer. (Inherited from _Workbook.)
Public property AutoUpdateSaveChanges True if current changes to the shared workbook are posted to other users whenever the workbook is automatically updated. False if changes aren’t posted (this workbook is still synchronized with changes made by other users). The default value is True. Read/write Boolean. (Inherited from _Workbook.)
Public property BuiltinDocumentProperties Returns a DocumentProperties collection that represents all the built-in document properties for the specified workbook. Read-only. (Inherited from _Workbook.)
Public property CalculationVersion Returns a number whose rightmost four digits are the minor calculation engine version number and whose other digits (on the left) are the major version of Microsoft Excel. For a Workbook object, this property returns the information about the version of Excel that the workbook was last fully recalculated by. Read-only Integer. (Inherited from _Workbook.)
Public property ChangeHistoryDuration Returns or sets the number of days shown in the shared workbook's change history. Read/write Integer. (Inherited from _Workbook.)
Public property Charts Returns a Sheets collection that represents all the chart sheets in the specified workbook. Read-only. (Inherited from _Workbook.)
Public property CheckCompatibility Controls whether or not the compatibility checker is run automatically when the workbook is saved. Read/write. (Inherited from _Workbook.)
Public property CodeName Returns the code name for the object. Read-only String. The value that you see in the cell to the right of (Name) in the Properties window is the code name of the selected object. At design time, you can change the code name of an object by changing this value. You cannot programmatically change this property at run time. (Inherited from _Workbook.)
Public property Colors Returns or sets colors in the palette for the workbook. The palette has 56 entries, each represented by an RGB value. Read/write Object. (Inherited from _Workbook.)
Public property CommandBars Returns a CommandBars object that represents the Microsoft Excel command bars. Read-only. (Inherited from _Workbook.)
Public property Comments Returns a Comments collection that represents all the comments for the specified worksheet. Read-only. (Inherited from _Workbook.)
Public property ConflictResolution Returns or sets the way conflicts are to be resolved whenever a shared workbook is updated. Read/write XlSaveConflictResolution. (Inherited from _Workbook.)
Public property Connections The Connections property establishes a connection between the workbook and an ODBC or an OLEDB data source and refreshes the data without prompting the user. Read-only. (Inherited from _Workbook.)
Public property ConnectionsDisabled Disables the external connections or links in the workbook. Read-only (Inherited from _Workbook.)
Public property Container Returns the object that represents the container application for the specified OLE object. Read-only Object. (Inherited from _Workbook.)
Public property ContentTypeProperties Returns a MetaProperties collection that describes the metadata stored in the workbook. Read-only. (Inherited from _Workbook.)
Public property CreateBackup True if a backup file is created when this file is saved. Read-only Boolean. (Inherited from _Workbook.)
Public property Creator Returns a constant in the XlCreator enumeration that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator. (Inherited from _Workbook.)
Public property CustomDocumentProperties Returns or sets a DocumentProperties collection that represents all the custom document properties for the specified workbook. (Inherited from _Workbook.)
Public property CustomViews Returns a CustomViews collection that represents all the custom views for the workbook. (Inherited from _Workbook.)
Public property CustomXMLParts Returns a. CustomXMLParts collection that represents the custom XML in the XML data store. Read-only. (Inherited from _Workbook.)
Public property Date1904 True if the workbook uses the 1904 date system. Read/write Boolean. (Inherited from _Workbook.)
Public property DefaultPivotTableStyle Specifies the table style from the TableStyles collection that is used as the default style for PivotTables. Read/write. (Inherited from _Workbook.)
Public property DefaultSlicerStyle Gets or sets the style from the TableStyles object that is used as the default style for slicers. (Inherited from _Workbook.)
Public property DefaultTableStyle Specifies the table style from the TableStyles collection that is used as the default TableStyle. Read/write (Inherited from _Workbook.)
Public property DialogSheets Reserved for internal use. (Inherited from _Workbook.)
Public property DisplayDrawingObjects Returns or sets how shapes are displayed. Read/write XlDisplayDrawingObjects. (Inherited from _Workbook.)
Public property DisplayInkComments A Boolean value that determines whether ink comments are displayed in the workbook. Read/write Boolean. (Inherited from _Workbook.)
Public property DocumentInspectors Returns a DocumentInspectors collection that represents the Document Inspector modules for the specified workbook. Read-only. (Inherited from _Workbook.)
Public property DocumentLibraryVersions Returns a DocumentLibraryVersions collection that represents the collection of versions of a shared workbook that has versioning enabled and that is stored in a document library on a server. (Inherited from _Workbook.)
Public property DoNotPromptForConvert Returns or sets if the user should be prompted to convert the workbook if the workbook contains features that are not supported by versions of Excel earlier than short_Excel2007. Read/write (Inherited from _Workbook.)
Public property EnableAutoRecover Saves changed files, of all formats, on a timed interval. Read/write Boolean. (Inherited from _Workbook.)
Public property EncryptionProvider Returns a String specifying the name of the algorithm encryption provider that 1st_Excel12 uses when encrypting documents. Read/write. (Inherited from _Workbook.)
Public property EnvelopeVisible True if the e-mail composition header and the envelope toolbar are both visible. Read/write Boolean. (Inherited from _Workbook.)
Public property Excel4IntlMacroSheets Returns a Sheets collection that represents all the Microsoft Excel 4.0 international macro sheets in the specified workbook. Read-only. (Inherited from _Workbook.)
Public property Excel4MacroSheets Returns a Sheets collection that represents all the Microsoft Excel 4.0 macro sheets in the specified workbook. Read-only. (Inherited from _Workbook.)
Public property Excel8CompatibilityMode The Excel8CompatibilityMode property provides developers with a way to check if the workbook is in compatibility mode. Read-only (Inherited from _Workbook.)
Public property FileFormat Returns the file format and/or type of the workbook. Read-only XlFileFormat. (Inherited from _Workbook.)
Public property Final Returns or sets a Boolean that indicates whether a workbook is final. Read/write (Inherited from _Workbook.)
Public property ForceFullCalculation Forces a full calculation of a workbook. Read/write. (Inherited from _Workbook.)
Public property FullName Returns the name of the object, including its path on disk, as a string. Read-only String. (Inherited from _Workbook.)
Public property FullNameURLEncoded Returns a String indicating the name of the object, including its path on disk, as a string. Read-only. (Inherited from _Workbook.)
Public property HasMailer Reserved for internal use. (Inherited from _Workbook.)
Public property HasPassword True if the workbook has a protection password. Read-only Boolean. (Inherited from _Workbook.)
Public property HasRoutingSlip True if the workbook has a routing slip. Read/write Boolean. (Inherited from _Workbook.)
Public property HasVBProject Returns a Boolean that represents whether a workbook has an attached Microsoft Visual Basic for Applications project. Read-only. (Inherited from _Workbook.)
Public property HighlightChangesOnScreen True if changes to the shared workbook are highlighted on-screen. Read/write Boolean. (Inherited from _Workbook.)
Public property HTMLProject Returns the HTMLProject object in the specified workbook, which represents a top-level project branch as in the Project Explorer in the Microsoft Script Editor. Read-only. (Inherited from _Workbook.)
Public property IconSets This property is used to filter data in a workbook based on a cell icon from the IconSets collection. Read-only. (Inherited from _Workbook.)
Public property InactiveListBorderVisible A Boolean value that specifies whether list borders are visible when a list is not active. Returns True if the border is visible. Read/write Boolean. (Inherited from _Workbook.)
Public property IsAddin True if the workbook is running as an add-in. Read/write Boolean. (Inherited from _Workbook.)
Public property IsInplace True if the specified workbook is being edited in place. False if the workbook has been opened in Microsoft Excel for editing. Read-only Boolean. (Inherited from _Workbook.)
Public property KeepChangeHistory True if change tracking is enabled for the shared workbook. Read/write Boolean. (Inherited from _Workbook.)
Public property Keywords Reserved for internal use. (Inherited from _Workbook.)
Public property ListChangesOnNewSheet True if changes to the shared workbook are shown on a separate worksheet. Read/write Boolean. (Inherited from _Workbook.)
Public property Mailer You have requested Help for a Visual Basic keyword used only on the Macintosh. For information about this keyword, consult the language reference Help included with Microsoft Office Macintosh Edition. (Inherited from _Workbook.)
Public property Modules Reserved for internal use. (Inherited from _Workbook.)
Public property MultiUserEditing True if the workbook is open as a shared list. Read-only Boolean. (Inherited from _Workbook.)
Public property Name Returns the name of the object. Read-only String. (Inherited from _Workbook.)
Public property Names Returns a Names collection that represents all the names in the specified workbook (including all worksheet-specific names). Read-only Names object. (Inherited from _Workbook.)
Public property OnSave Reserved for internal use. (Inherited from _Workbook.)
Public property OnSheetActivate Reserved for internal use. (Inherited from _Workbook.)
Public property OnSheetDeactivate Reserved for internal use. (Inherited from _Workbook.)
Public property Parent Returns the parent object for the specified object. Read-only. (Inherited from _Workbook.)
Public property Password Returns or sets the password that must be supplied to open the specified workbook. Read/write String. (Inherited from _Workbook.)
Public property PasswordEncryptionAlgorithm Returns a String indicating the algorithm Microsoft Excel uses to encrypt passwords for the specified workbook. Read-only. (Inherited from _Workbook.)
Public property PasswordEncryptionFileProperties True if Microsoft Excel encrypts file properties for the specified password-protected workbook. Read-only Boolean. (Inherited from _Workbook.)
Public property PasswordEncryptionKeyLength Returns an Integer indicating the key length of the algorithm Microsoft Excel uses when encrypting passwords for the specified workbook. Read-only. (Inherited from _Workbook.)
Public property PasswordEncryptionProvider Returns a String specifying the name of the algorithm encryption provider that Microsoft Excel uses when encrypting passwords for the specified workbook. Read-only. (Inherited from _Workbook.)
Public property Path Returns the complete path to the application, excluding the final separator and name of the application. Read-only String. (Inherited from _Workbook.)
Public property Permission Returns a Permission object that represents the permission settings in the specified workbook. (Inherited from _Workbook.)
Public property PersonalViewListSettings True if filter and sort settings for lists are included in the user's personal view of the shared workbook. Read/write Boolean. (Inherited from _Workbook.)
Public property PersonalViewPrintSettings True if print settings are included in the user's personal view of the shared workbook. Read-write Boolean. (Inherited from _Workbook.)
Public property PrecisionAsDisplayed True if calculations in this workbook will be done using only the precision of the numbers as they’re displayed. Read/write Boolean. (Inherited from _Workbook.)
Public property ProtectStructure True if the order of the sheets in the workbook is protected. Read-only Boolean. (Inherited from _Workbook.)
Public property ProtectWindows True if the windows of the workbook are protected. Read-only Boolean. (Inherited from _Workbook.)
Public property PublishObjects Returns the PublishObjects collection. Read-only. (Inherited from _Workbook.)
Public property ReadOnly Returns True if the object has been opened as read-only. Read-only Boolean. (Inherited from _Workbook.)
Public property ReadOnlyRecommended True if the workbook was saved as read-only recommended. Read-only Boolean. (Inherited from _Workbook.)
Public property RemovePersonalInformation True if personal information can be removed from the specified workbook. The default value is False. Read/write Boolean. (Inherited from _Workbook.)
Public property Research Returns a Research object that represents the research service for a workbook. Read-only. (Inherited from _Workbook.)
Public property RevisionNumber Returns the number of times the workbook has been saved while open as a shared list. If the workbook is open in exclusive mode, this property returns 0 (zero). Read-only Integer. (Inherited from _Workbook.)
Public property Routed True if the workbook has been routed to the next recipient. False if the workbook needs to be routed. Read-only Boolean. (Inherited from _Workbook.)
Public property RoutingSlip Returns a RoutingSlip object that represents the routing slip for the workbook. Reading this property if there's no routing slip causes an error (check the HasRoutingSlip property first). Read-only. (Inherited from _Workbook.)
Public property Saved True if no changes have been made to the specified workbook since it was last saved. Read/write Boolean. (Inherited from _Workbook.)
Public property SaveLinkValues True if Microsoft Excel saves external link values with the workbook. Read/write Boolean. (Inherited from _Workbook.)
Public property ServerPolicy Returns a ServerPolicy object that represents a policy specified for a workbook stored on a server running 2nd_OSS_NoVersion 2007. Read-only. (Inherited from _Workbook.)
Public property ServerViewableItems Allows a developer to interact with the list of published objects in the workbook that are shown on the server. Read-only. (Inherited from _Workbook.)
Public property SharedWorkspace Returns a SharedWorkspace object that represents the Document Workspace in which a specified document is located. Read-only. (Inherited from _Workbook.)
Public property Sheets Returns a Sheets collection that represents all the sheets in the specified workbook. Read-only Sheets object. (Inherited from _Workbook.)
Public property ShowConflictHistory True if the Conflict History worksheet is visible in the workbook that's open as a shared list. Read/write Boolean. (Inherited from _Workbook.)
Public property ShowPivotChartActiveFields This property controls the visibility of the PivotChart Filter Pane. Read/write. (Inherited from _Workbook.)
Public property ShowPivotTableFieldList True (default) if the PivotTable field list can be shown. Read/write Boolean. (Inherited from _Workbook.)
Public property Signatures Returns the digital signatures for a workbook. Read-only. (Inherited from _Workbook.)
Public property SlicerCaches Gets the SlicerCaches object associated with the workbook. (Inherited from _Workbook.)
Public property SmartDocument Returns a SmartDocument object that represents the settings for a smart document solution. Read-only. (Inherited from _Workbook.)
Public property SmartTagOptions Returns a SmartTagOptions object representing the options that can be performed with a smart tag. (Inherited from _Workbook.)
Public property Styles Returns a Styles collection that represents all the styles in the specified workbook. Read-only. (Inherited from _Workbook.)
Public property Subject Reserved for internal use. (Inherited from _Workbook.)
Public property Sync Returns a Sync object that provides access to the methods and properties for documents that are part of a Document Workspace. (Inherited from _Workbook.)
Public property TableStyles Returns a TableStyles collection object for the current workbook that refers to the styles used in the current workbook. Read-only. (Inherited from _Workbook.)
Public property TemplateRemoveExtData True if external data references are removed when the workbook is saved as a template. Read/write Boolean. (Inherited from _Workbook.)
Public property Theme Returns the theme applied to the current workbook. Read-only. (Inherited from _Workbook.)
Public property Title Reserved for internal use. (Inherited from _Workbook.)
Public property UpdateLinks Returns or sets an XlUpdateLinks constant indicating a workbook's setting for updating embedded OLE links. Read/write. (Inherited from _Workbook.)
Public property UpdateRemoteReferences True if Microsoft Excel updates remote references in the workbook. Read/write Boolean. (Inherited from _Workbook.)
Public property UserControl Reserved for internal use. (Inherited from _Workbook.)
Public property UserStatus Returns a 1-based, two-dimensional array that provides information about each user who has the workbook open as a shared list. The first element of the second dimension is the name of the user, the second element is the date and time when the user last opened the workbook, and the third element is a number indicating the type of list (1 indicates exclusive, and 2 indicates shared). Read-only Object. (Inherited from _Workbook.)
Public property VBASigned True if the Visual Basic for Applications project for the specified workbook has been digitally signed. Read-only Boolean. (Inherited from _Workbook.)
Public property VBProject Returns a VBProject object that represents the Visual Basic project in the specified workbook. Read-only. (Inherited from _Workbook.)
Public property WebOptions Returns the WebOptions collection, which contains workbook-level attributes used by Microsoft Excel when you save a document as a Web page or open a Web page. Read-only. (Inherited from _Workbook.)
Public property Windows Returns a Windows collection that represents all the windows in the specified workbook. Read-only Windows object. (Inherited from _Workbook.)
Public property Worksheets Returns a Sheets collection that represents all the worksheets in the specified workbook. Read-only Sheets object. (Inherited from _Workbook.)
Public property WritePassword Returns or sets a String for the write password of a workbook. Read/write. (Inherited from _Workbook.)
Public property WriteReserved True if the workbook is write-reserved. Read-only Boolean. (Inherited from _Workbook.)
Public property WriteReservedBy Returns the name of the user who currently has write permission for the workbook. Read-only String. (Inherited from _Workbook.)
Public property XmlMaps Returns an XmlMaps collection that represents the schema maps that have been added to the specified workbook. Read-only. (Inherited from _Workbook.)
Public property XmlNamespaces Returns an XmlNamespaces collection that represents the XML namespaces contained in the specified workbook. Read-only. (Inherited from _Workbook.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft