Workbook Methods (2007 Sys ...


Visual Studio Tools for Office API Reference
Workbook Methods (2007 System)

The Workbook type exposes the following members.

Methods

  NameDescription
Public method_PrintOutInfrastructure.
Public method_ProtectInfrastructure.
Public method_SaveAsInfrastructure.
Public methodAcceptAllChangesAccepts all changes in the shared workbook.
Public methodActivateActivates the first window associated with the workbook.
Public methodAddToFavoritesAdds a shortcut to the workbook to the Favorites folder.
Public methodApplyThemeApplies the specified theme to the workbook.
Public methodBeginInitInfrastructure.
Public methodBreakLinkConverts formulas linked to other Microsoft Office Excel sources or OLE sources to values.
Public methodCanCheckInGets a value that indicates whether Microsoft Office Excel can check in the workbook to a server.
Public methodChangeFileAccessChanges the access permissions for the workbook. This might require an updated version to be loaded from the disk.
Public methodChangeLinkChanges a link from one document to another.
Public methodCheckInReturns a workbook from a local computer to a server, and sets the local workbook to read-only so that it cannot be edited locally. Calling this method closes the workbook.
Public methodCheckInWithVersionSends the workbook from the local computer to a server, and sets the local workbook to read-only so that it cannot be edited locally. Calling this method closes the workbook.
Protected methodCheckValidState (Inherited from RemoteComponent.)
Public methodCloseCloses the workbook.
Protected methodCreateRibbonExtensibilityObjectReturns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface.
Protected methodCreateRibbonObjectsReturns an array of OfficeRibbon objects to the CreateRibbonExtensibilityObject method.
Public methodDeleteNumberFormatDeletes a custom number format from the workbook.
Public methodDisposeOverloaded.
Public methodDummy16Infrastructure.
Public methodDummy17Infrastructure.
Public methodEnableConnectionsEnables data connections within the workbook.
Public methodEndInitInfrastructure.
Public methodEndReviewTerminates a review of a file that has been sent for review using the SendForReview method.
Public methodEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodExclusiveAccessAssigns the current user exclusive access to the workbook that is open as a shared list.
Public methodExportAsFixedFormatSaves a workbook in PDF or XPS format.
Protected methodFinalize (Inherited from RemoteComponent.)
Protected methodFinishInitialization (Inherited from EntryPointComponentBase.)
Public methodFollowHyperlinkDisplays a cached document, if it has already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document, and displays the document in the appropriate application.
Public methodForwardMailerInfrastructure.
Public methodget_ColorsInfrastructure. Use the Colors property instead of this method.
Protected methodGetAutomationObjectCalled by the Visual Studio Tools for Office runtime to get an object that can be used by VBA code in the workbook.
Public methodGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected methodGetHostItem<(Of <(T>)>) (Inherited from RemoteComponent.)
Protected methodGetPrimaryControlInfrastructure.
Protected methodGetService (Inherited from RemoteComponent.)
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberGetVstoObjectReturns a workbook host item that extends the functionality of the specified native Excel workbook.
Public methodGetWorkflowTasksReturns the collection of workflow tasks for the workbook.
Public methodGetWorkflowTemplatesReturns the collection of workflow templates for the workbook.
Public methodStatic memberHasVstoObjectReturns a value that indicates whether an Excel Microsoft.Office.Tools.Excel..::.Workbook host item has been created for the specified native Excel Microsoft.Office.Interop.Excel..::._Workbook.
Public methodHighlightChangesOptionsControls how changes are shown in a shared workbook.
Protected methodInitializeInfrastructure. (Overrides EntryPointComponentBase..::.Initialize()()().)
Protected methodInitializeControl (Inherited from RemoteComponent.)
Protected methodInitializeDataBindings (Inherited from EntryPointComponentBase.)
Public methodLinkInfoGets the link date and update status.
Public methodLinkSourcesReturns an Array of links in the workbook.
Public methodLockServerFileLocks the workbook on the server to prevent modification.
Protected methodMemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodMergeWorkbookMerges changes from one workbook into an open shared workbook.
Public methodNewWindowCreates a new window.
Protected methodOnBindingContextChanged (Inherited from EntryPointBindableComponentBase.)
Protected methodOnShutdownInfrastructure. (Overrides EntryPointComponentBase..::.OnShutdown()()().)
Protected methodOnStartupInfrastructure. (Overrides EntryPointComponentBase..::.OnStartup()()().)
Public methodOpenLinksOpens the supporting documents for a link or links.
Public methodPivotCachesGets a Microsoft.Office.Interop.Excel..::.PivotCaches collection that represents all the PivotTable caches in the specified workbook.
Public methodPivotTableWizardCreates a Microsoft.Office.Interop.Excel..::.PivotTable object.
Public methodPostPosts the workbook to a public folder. This method works only with a Microsoft Exchange client connected to a Microsoft Exchange server.
Public methodPrintOutPrints the workbook.
Public methodPrintOutExPrints the workbook.
Public methodPrintPreviewShows a preview of the object as it would look when printed.
Public methodProtectProtects a workbook so that it cannot be modified.
Protected methodProtectDocumentCalled by the Visual Studio Tools for Office runtime so that you can reapply password protection to the workbook after the cached data has been saved.
Public methodProtectSharingSaves the workbook and protects it for sharing.
Public methodProtectSharingExSaves the workbook and protects it for sharing.
Public methodPurgeChangeHistoryNowRemoves entries from the change log for the workbook.
Public methodRecheckSmartTagsCauses a foreground smart tag check to occur automatically annotating data that was not annotated before.
Public methodRefreshAllRefreshes all external data ranges and PivotTable reports in the workbook.
Public methodRejectAllChangesRejects all changes in the shared workbook.
Public methodReloadAsReloads a workbook based on an HTML document, using the specified document encoding.
Public methodRemoveCustomizationRemoves the Visual Studio Tools for Office customization from the workbook.
Public methodRemoveDocumentInformationRemoves all information of the specified type from the workbook.
Public methodRemoveUserDisconnects the specified user from the shared workbook.
Public methodReplyInfrastructure.
Public methodReplyAllInfrastructure.
Public methodReplyWithChangesSends an e-mail message to the author of a workbook that has been sent out for review, notifying him or her that a reviewer has completed review of the workbook.
Protected methodRequestServiceReturns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface in a document-level customization.
Public methodResetColorsResets the color palette to the default colors.
Public methodRouteRoutes the workbook, using the workbook's current routing slip.
Public methodRunAutoMacrosRuns the Auto_Open, Auto_Close, Auto_Activate, or Auto_Deactivate macro attached to the workbook. This method is included for backward compatibility. You should use the Open, Close, Activate and Deactivate events instead of these macros.
Public methodSaveSaves changes to the workbook.
Public methodSaveAsSaves changes to the workbook in a different file.
Public methodSaveAsXMLDataExports the data that has been mapped to the specified XML schema map to an XML data file.
Public methodSaveCopyAsSaves a copy of the workbook to a file but does not modify the open workbook in memory.
Public methodsbltInfrastructure.
Public methodSendFaxOverInternetSends the active sheet in the workbook as a fax to the specified recipients.
Public methodSendForReviewSends a workbook in an e-mail message for review to the specified recipients.
Public methodSendMailSends the workbook by using the installed mail system.
Public methodSendMailerInfrastructure.
Public methodset_ColorsInfrastructure. Use the Colors property instead of this method.
Public methodSetLinkOnDataSets the name of a procedure that runs whenever a DDE link is updated.
Public methodSetPasswordEncryptionOptionsSets the options for encrypting the workbook using a password.
Protected methodSetPrimaryCookie (Inherited from RemoteComponent.)
Public methodToggleFormsDesignToggles Microsoft Office Excel into and out of design mode.
Public methodToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodUnprotectRemoves protection from the workbook. This method has no effect if the workbook is not protected.
Protected methodUnprotectDocumentCalled by the Visual Studio Tools for Office runtime so that you can remove password protection from the workbook and enable cached data to be saved.
Public methodUnprotectSharingTurns off protection for sharing and saves the workbook.
Public methodUpdateFromFileUpdates a read-only workbook from the saved disk version of the workbook if the disk version is more recent than the copy of the workbook that is loaded in memory. If the disk copy has not changed since the workbook was loaded, the in-memory copy of the workbook is not reloaded.
Public methodUpdateLinkUpdates a Microsoft Office Excel, DDE, or OLE link (or links).
Public methodWebPagePreviewDisplays a preview of the workbook as it would look if saved as a Web page.
Public methodXmlImportImports an XML data file into the current workbook.
Public methodXmlImportXmlImports an XML data stream that has been previously loaded into memory.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodIEntryPoint..::.FinishInitialization (Inherited from EntryPointComponentBase.)
Explicit interface implemetationPrivate methodIEntryPoint..::.Initialize (Inherited from EntryPointComponentBase.)
Explicit interface implemetationPrivate methodISupportInitializeControl..::.InitializeControlInfrastructure.
Explicit interface implemetationPrivate methodIEntryPoint..::.InitializeDataBindings (Inherited from EntryPointComponentBase.)
Explicit interface implemetationPrivate methodIActivatable..::.OnNewInfrastructure.
Explicit interface implemetationPrivate methodIActivatable..::.OnOpenInfrastructure.
Explicit interface implemetationPrivate methodIEntryPoint..::.OnShutdown (Inherited from EntryPointComponentBase.)
Explicit interface implemetationPrivate methodIServiceProviderCallback..::.RequestServiceInfrastructure.
Top
See Also

Reference

Tags :


Page view tracker