MsoControlOLEUsage enumeration (Office)

Specifies the OLE client and OLE server roles in which a command bar control is used when two Microsoft Office applications are merged.

Name Value Description
msoControlOLEUsageBoth 3 Control runs on both client and server.
msoControlOLEUsageClient 2 Client-only control.
msoControlOLEUsageNeither 0 Control runs on neither client nor server.
msoControlOLEUsageServer 1 Server-only control.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.