Updating an ActiveX Property with vlax-put-property

The vlax-put-property function updates the property of an object. The function requires the following arguments:

If vlax-put-property updates the property successfully, it returns nil.

The following function call changes the size of the Microsoft Word toolbar buttons by updating the LargeButtons property of the CommandBars object:

_$ (vlax-put-property
combars 'LargeButtons :vlax-true)