Description

Creates and returns a new Shape. Valid Shape types are: Rectangle = 1, Rounded Rectangle = 2, Ellipse = 3, Pentagon = 4, Hexagon = 5, Octagon = 6, Note = 7. PARAMETERS: Name (String), Text (String), ShapeType (Integer).

Syntax

Public Function Add( _
   ByVal Name As Variant, _
   ByVal Text As Variant, _
   ByVal ShapeType As Variant _
) As Shape

Parameters

  • Name
  • Text
  • ShapeType