'Declaration Function Add( _ ByVal x As Double, _ ByVal y As Double, _ ByVal width As Double, _ ByVal height As Double _ ) As IButton
Parameters
- x
- The initial horizontal position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
- y
- The initial vertical position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.
- width
- The initial width, in pixels, of the shape.
- height
- The initial height, in pixels, of the shape.
Return Value
The IButton object represents the new button control.