IDocumentInspector.Fix Method

Office Developer Reference

Performs some action on specific information items or document properties by using a custom Document Inspector module.

Aa433546.vs_note(en-us,office.12).gif Note
The IDocumentInspector object is for the exclusive use of custom Document Inspector module authors and cannot be used with Visual Basic for Applications (VBA).

Syntax

expression.Fix(Doc, Hwnd, Status, Result)

expression An expression that returns a IDocumentInspector object.

Parameters

Name Required/Optional Data Type Description
Doc Required Object An object representing the container object.
Hwnd Required Long Unique identifier of the active document window.
Status Required MsoDocInspectorStatus An enumeration that indicates the status of the action.
Result Required String Contains the results of the action.

Return Value
[HRESULT]

Remarks

MsoDocInspectorStatus members

Constant Value
msoDocInspectorStatusDocOk 0
msoDocInspectorStatusIssueFound 1
msoDocInspectorStatusError 2

See Also