編輯

共用方式為


WorkbookClass Class

Definition

Reserved for internal use.

public ref class WorkbookClass : Microsoft::Office::Interop::Excel::Workbook
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("00020819-0000-0000-C000-000000000046")]
public class WorkbookClass : Microsoft.Office.Interop.Excel.Workbook
Public Class WorkbookClass
Implements Workbook
Inheritance
WorkbookClass
Attributes
Implements

Constructors

WorkbookClass()

Properties

_CodeName
_ReadOnlyRecommended
AcceptLabelsInFormulas
AccuracyVersion
ActiveChart
ActiveSheet
ActiveSlicer
Application
Author
AutoUpdateFrequency
AutoUpdateSaveChanges
BuiltinDocumentProperties
CalculationVersion
CaseSensitive
ChangeHistoryDuration
ChartDataPointTrack
Charts
CheckCompatibility
CodeName
Colors[Object]
CommandBars
Comments
ConflictResolution
Connections
ConnectionsDisabled
Container
ContentTypeProperties
CreateBackup
Creator
CustomDocumentProperties
CustomViews
CustomXMLParts
Date1904
DefaultPivotTableStyle
DefaultSlicerStyle
DefaultTableStyle
DefaultTimelineStyle
DialogSheets
DisplayDrawingObjects
DisplayInkComments
DocumentInspectors
DocumentLibraryVersions
DoNotPromptForConvert
EnableAutoRecover
EncryptionProvider
EnvelopeVisible
Excel4IntlMacroSheets
Excel4MacroSheets
Excel8CompatibilityMode
FileFormat
Final
ForceFullCalculation
FullName
FullNameURLEncoded
HasMailer
HasPassword
HasRoutingSlip
HasVBProject
HighlightChangesOnScreen
HTMLProject
IconSets
InactiveListBorderVisible
IsAddin
IsInplace
KeepChangeHistory
Keywords
ListChangesOnNewSheet
Mailer
Model
Modules
MultiUserEditing
Name
Names
OnSave
OnSheetActivate
OnSheetDeactivate
Parent
Password
PasswordEncryptionAlgorithm
PasswordEncryptionFileProperties
PasswordEncryptionKeyLength
PasswordEncryptionProvider
Path
Permission
PersonalViewListSettings
PersonalViewPrintSettings
PivotTables
PrecisionAsDisplayed
ProtectStructure
ProtectWindows
PublishObjects
ReadOnly
ReadOnlyRecommended
RemovePersonalInformation
Research
RevisionNumber
Routed
RoutingSlip
Saved
SaveLinkValues
ServerPolicy
ServerViewableItems
SharedWorkspace
Sheets
ShowConflictHistory
ShowPivotChartActiveFields
ShowPivotTableFieldList
Signatures
SlicerCaches
SmartDocument
SmartTagOptions
Styles
Subject
Sync
TableStyles
TemplateRemoveExtData
Theme
Title
UpdateLinks
UpdateRemoteReferences
UserControl
UserStatus
UseWholeCellCriteria
UseWildcards
VBASigned
VBProject
WebOptions
Windows
Worksheets
WritePassword
WriteReserved
WriteReservedBy
XmlMaps
XmlNamespaces

Methods

_PrintOut(Object, Object, Object, Object, Object, Object, Object)
_Protect(Object, Object, Object)
_SaveAs(Object, Object, Object, Object, Object, Object, XlSaveAsAccessMode, Object, Object, Object, Object)
AcceptAllChanges(Object, Object, Object)
Activate()
AddToFavorites()
ApplyTheme(String)
BreakLink(String, XlLinkType)
CanCheckIn()
ChangeFileAccess(XlFileAccess, Object, Object)
ChangeLink(String, String, XlLinkType)
CheckIn(Object, Object, Object)
CheckInWithVersion(Object, Object, Object, Object)
Close(Object, Object, Object)
DeleteNumberFormat(String)
Dummy16()
Dummy17(Int32)
Dummy26()
Dummy27()
EnableConnections()
EndReview()
ExclusiveAccess()
ExportAsFixedFormat(XlFixedFormatType, Object, Object, Object, Object, Object, Object, Object, Object)
FollowHyperlink(String, Object, Object, Object, Object, Object, Object)
ForwardMailer()
GetWorkflowTasks()
GetWorkflowTemplates()
HighlightChangesOptions(Object, Object, Object)
LinkInfo(String, XlLinkInfo, Object, Object)
LinkSources(Object)
LockServerFile()
MergeWorkbook(Object)
NewWindow()
OpenLinks(String, Object, Object)
PivotCaches()
PivotTableWizard(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object)
Post(Object)
PrintOut(Object, Object, Object, Object, Object, Object, Object, Object)
PrintOutEx(Object, Object, Object, Object, Object, Object, Object, Object, Object)
PrintPreview(Object)
Protect(Object, Object, Object)
ProtectSharing(Object, Object, Object, Object, Object, Object)
ProtectSharingEx(Object, Object, Object, Object, Object, Object, Object)
PurgeChangeHistoryNow(Int32, Object)
RecheckSmartTags()
RefreshAll()
RejectAllChanges(Object, Object, Object)
ReloadAs(MsoEncoding)
RemoveDocumentInformation(XlRemoveDocInfoType)
RemoveUser(Int32)
Reply()
ReplyAll()
ReplyWithChanges(Object)
ResetColors()
Route()
RunAutoMacros(XlRunAutoMacro)
Save()
SaveAs(Object, Object, Object, Object, Object, Object, XlSaveAsAccessMode, Object, Object, Object, Object, Object)
SaveAsXMLData(String, XmlMap)
SaveCopyAs(Object)
sblt(String)
SendFaxOverInternet(Object, Object, Object)
SendForReview(Object, Object, Object, Object)
SendMail(Object, Object, Object)
SendMailer(Object, XlPriority)
SetLinkOnData(String, Object)
SetPasswordEncryptionOptions(Object, Object, Object, Object)
ToggleFormsDesign()
Unprotect(Object)
UnprotectSharing(Object)
UpdateFromFile()
UpdateLink(Object, Object)
WebPagePreview()
XmlImport(String, XmlMap, Object, Object)
XmlImportXml(String, XmlMap, Object, Object)

Events

AddinInstall
AddinUninstall
AfterSave
AfterXmlExport
AfterXmlImport
BeforeClose
BeforePrint
BeforeSave
BeforeXmlExport
BeforeXmlImport
Deactivate
ModelChange
NewChart
NewSheet
Open
PivotTableCloseConnection
PivotTableOpenConnection
RowsetComplete
SheetActivate
SheetBeforeDelete
SheetBeforeDoubleClick
SheetBeforeRightClick
SheetCalculate
SheetChange
SheetDeactivate
SheetFollowHyperlink
SheetLensGalleryRenderComplete
SheetPivotTableAfterValueChange
SheetPivotTableBeforeAllocateChanges
SheetPivotTableBeforeCommitChanges
SheetPivotTableBeforeDiscardChanges
SheetPivotTableChangeSync
SheetPivotTableUpdate
SheetSelectionChange
SheetTableUpdate
WindowActivate
WindowDeactivate
WindowResize
WorkbookEvents_Event_Activate
WorkbookEvents_Event_Sync

Applies to