| comSetProperty {rcom} | R Documentation |
Set one of the COM object's properties.
In case the property is an indexed property, pass the index value before the property value.
comSetProperty(handle,property,...)
handle |
COM object (class "COMObject") as returned by e.g.
comCreateObject |
property |
name of property to get as a character string |
... |
the value the property should be set to |
Thomas Baier
# start up excel
## Not run: x<-comCreateObject("Excel.Application")
# and make it visible
## Not run: comSetProperty(x,"Visible",TRUE);
# set the value of index 3 of the indexed property ArrayProperty
## Not run: comSetProperty(x,"ArrayProperty",3,TRUE);
# do something now...